summaryrefslogtreecommitdiff
path: root/include/mysql.h
diff options
context:
space:
mode:
authorunknown <venu@myvenu.com>2003-01-07 18:57:39 -0800
committerunknown <venu@myvenu.com>2003-01-07 18:57:39 -0800
commite3494520c9d88a8b44b6237cfdb141fd85760c7f (patch)
tree3e699d40d78239876fa60bec87b835ea7b04576e /include/mysql.h
parentdbbfface5cd16290a6b1a155280623f9166ea923 (diff)
downloadmariadb-git-e3494520c9d88a8b44b6237cfdb141fd85760c7f.tar.gz
Code cleaup to fix the conversion routines - binary protocol
Diffstat (limited to 'include/mysql.h')
-rw-r--r--include/mysql.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mysql.h b/include/mysql.h
index e43136f8f69..d9da2bde73c 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -439,13 +439,12 @@ typedef struct st_mysql_bind
{
long *length; /* output length pointer */
gptr buffer; /* buffer */
- unsigned long buffer_length; /* buffer length */
enum enum_field_types buffer_type; /* buffer type */
- enum enum_field_types field_type; /* field type */
my_bool is_null; /* NULL indicator */
my_bool is_long_data; /* long data indicator */
/* The following are for internal use. Set by mysql_bind_param */
+ unsigned long buffer_length; /* buffer length */
long bind_length; /* Default length of data */
my_bool long_ended; /* All data supplied for long */
unsigned int param_number; /* For null count and error messages */
@@ -511,6 +510,7 @@ MYSQL_RES *STDCALL mysql_prepare_result(MYSQL_STMT *stmt);
#define MYSQL_NO_DATA 100
#define MYSQL_NEED_DATA 99
#define MYSQL_NULL_DATA (-1)
+#define MYSQL_LONG_DATA (-2)
#define mysql_reload(mysql) mysql_refresh((mysql),REFRESH_GRANT)