]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
--resolve FS-3852
authorMarc Olivier Chouinard <mochouinard@moctel.com>
Wed, 3 Jul 2013 17:01:23 +0000 (13:01 -0400)
committerMarc Olivier Chouinard <mochouinard@moctel.com>
Wed, 3 Jul 2013 17:01:23 +0000 (13:01 -0400)
src/switch_odbc.c

index 9be34079d671d4f4755ceb3ef36a844a1ecd977e..7656231c3e170fe6fb07adaf219fb7bbe49e2452 100644 (file)
@@ -412,7 +412,7 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_exec_string(switch_odbc_
                SQLRowCount(stmt, &m);
                handle->affected_rows = (int) m;
 
-               if (m <= 0) {
+               if (m == 0) {
                        goto done;
                }