Note that it's fall-through
authorAlan T. DeKok <aland@freeradius.org>
Sat, 2 Mar 2013 15:10:04 +0000 (10:10 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 2 Mar 2013 15:12:42 +0000 (10:12 -0500)
src/modules/rlm_sql/drivers/rlm_sql_unixodbc/rlm_sql_unixodbc.c

index 6559cfb..1c2ba8c 100644 (file)
@@ -410,6 +410,7 @@ static int sql_state(long err_handle, rlm_sql_handle_t *handle, UNUSED rlm_sql_c
        switch(state[1]) {
        case '1':               /* SQLSTATE 01 class contains info and warning messages */
            radlog(L_INFO, "rlm_sql_unixodbc: %s %s\n", state, error);
+           /* FALL-THROUGH */
        case '0':               /* SQLSTATE 00 class means success */
            res = 0;
            break;