summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <pem@mysql.com>2004-02-13 17:39:00 +0100
committerunknown <pem@mysql.com>2004-02-13 17:39:00 +0100
commit078919ad9e01f074c41d2d8311d3e738d299a5d8 (patch)
tree8bfbeb69721f881bfc6f0a93e5cb203b9810629f /include
parentb5c8de4c835b493f28acfaca681e982046b8d818 (diff)
parent9a3a0d7d4062982d0977b9268fd599d7b0745c2d (diff)
downloadmariadb-git-078919ad9e01f074c41d2d8311d3e738d299a5d8.tar.gz
Merge mysql.com:/home/pem/work/mysql-4.1
into mysql.com:/home/pem/work/mysql-5.0-merge client/mysql.cc: Auto merged libmysql/libmysql.c: Auto merged libmysqld/lib_sql.cc: Auto merged mysql-test/r/mysqldump.result: Auto merged mysql-test/r/show_check.result: Auto merged sql/item.cc: Auto merged sql/mysql_priv.h: Auto merged sql/sql_class.h: Auto merged sql/sql_lex.cc: Auto merged sql/sql_parse.cc: Auto merged sql-common/client.c: Auto merged sql/sql_prepare.cc: Auto merged sql/sql_show.cc: Auto merged sql/sql_table.cc: Auto merged sql/sql_yacc.yy: Auto merged tests/client_test.c: Auto merged
Diffstat (limited to 'include')
-rw-r--r--include/mysql.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mysql.h b/include/mysql.h
index d1b467f9649..cd5d01d6f44 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' */
@@ -537,6 +534,8 @@ typedef struct st_mysql_stmt
char *query; /* query buffer */
MEM_ROOT mem_root; /* root allocations */
my_ulonglong last_fetched_column; /* last fetched column */
+ my_ulonglong affected_rows; /* copy of mysql->affected_rows
+ after statement execution */
unsigned long stmt_id; /* Id for prepared statement */
unsigned int last_errno; /* error code */
unsigned int param_count; /* parameters count */
@@ -575,6 +574,7 @@ typedef struct st_mysql_methods
int (*unbuffered_fetch)(MYSQL *mysql, char **row);
void (*free_embedded_thd)(MYSQL *mysql);
const char *(*read_statistic)(MYSQL *mysql);
+ int (*next_result)(MYSQL *mysql);
#endif
} MYSQL_METHODS;