diff options
author | dlenev@dlenev.mshome <> | 2004-02-10 16:58:20 +0300 |
---|---|---|
committer | dlenev@dlenev.mshome <> | 2004-02-10 16:58:20 +0300 |
commit | 8ec663ef5b780ea974cfa35b6e8a8bf383afd157 (patch) | |
tree | 72d437a30389a2f7d1f385753fa89f6130dfe0f9 /include/mysql.h | |
parent | 7bb74b6592583656512571e4af1b04d36849d020 (diff) | |
download | mariadb-git-8ec663ef5b780ea974cfa35b6e8a8bf383afd157.tar.gz |
Fixed bug #2248 "mysql_fetch without prior mysql_execute hangs"
Done clean-up in prep stmt API functions:
1) Removed some checks that were performed only in debug version
were making debug version more tolerable to user errors than
production (and thus caused problems for example masking some
bugs).
2) Also removed some other checks to make prep stmt API
consistent with the rest of C API (this also in line with
general politics - make checks in only those places where
errors are very common and hard to spot).
Diffstat (limited to 'include/mysql.h')
-rw-r--r-- | include/mysql.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/mysql.h b/include/mysql.h index d1b467f9649..ebf3928ce9c 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -57,9 +57,6 @@ typedef int my_socket; #include "mysql_com.h" #include "mysql_version.h" #include "typelib.h" -#ifndef DBUG_OFF -#define CHECK_EXTRA_ARGUMENTS -#endif #include "my_list.h" /* for LISTs used in 'MYSQL' and 'MYSQL_STMT' */ |