diff options
author | monty@mysql.com <> | 2005-06-05 17:01:20 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2005-06-05 17:01:20 +0300 |
commit | 25a2c4a71eccb94b0311b9af60acbf8e85ad3db7 (patch) | |
tree | 9e3ba3064a7442c6cf9812a9f784e111bd244e0e /libmysql/libmysql.c | |
parent | a69f4321155fced6ef3a771e68b7dab1d2f119cc (diff) | |
download | mariadb-git-25a2c4a71eccb94b0311b9af60acbf8e85ad3db7.tar.gz |
Cleanup during review
Simple optimization for 2 argument usage to function of variable arguments
Fix stack overrun when using 1+1+1+1+1+1+1+....
Update crash-me results for 5.0
Don't call post_open if pre_open() fails (optimization)
Diffstat (limited to 'libmysql/libmysql.c')
-rw-r--r-- | libmysql/libmysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index c87728ab783..dc12ecb6519 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -1738,7 +1738,7 @@ myodbc_remove_escape(MYSQL *mysql,char *name) /* Default number of rows fetched per one COM_FETCH command. */ -#define DEFAULT_PREFETCH_ROWS 1UL +#define DEFAULT_PREFETCH_ROWS (ulong) 1 /* These functions are called by function pointer MYSQL_STMT::read_row_func. |