summaryrefslogtreecommitdiff
path: root/libmysql/libmysql.c
diff options
context:
space:
mode:
authorunknown <patg@krsna.patg.net>2005-02-23 00:29:57 -0800
committerunknown <patg@krsna.patg.net>2005-02-23 00:29:57 -0800
commitaec302676a839c41e69399bf73091273f1c0b60f (patch)
treee5e25ce017a261231b13aa0deb1e42dacb10c6d8 /libmysql/libmysql.c
parent65492347e86bfddd54627c0f6dda483e075a5ec6 (diff)
downloadmariadb-git-aec302676a839c41e69399bf73091273f1c0b60f.tar.gz
WL #2094 Federated Storage Handler
This is the first changeset of suggested changes recommended in Kostja's review of my patch, 1.1846, which includes only functionality changes. Style changes/Documentation patch to follow. include/mysql.h: removed declaration of cli_fetch_lengths per Kostja's suggestion libmysql/libmysql.c: moved mysql_fetch_lengths to client.c (for server to access) per Kostja's suggestion sql-common/client.c: added back 'static' to function definition, added mysql_fetch_lengths sql/ha_federated.cc: changed to use defines as opposed to hardcoded values sql/ha_federated.h: took out duplicate table_flag, fixed a resolve mistake
Diffstat (limited to 'libmysql/libmysql.c')
-rw-r--r--libmysql/libmysql.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 1ef29210c0b..20a000f1e4d 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -1116,25 +1116,6 @@ mysql_fetch_field(MYSQL_RES *result)
/**************************************************************************
- Get column lengths of the current row
- If one uses mysql_use_result, res->lengths contains the length information,
- else the lengths are calculated from the offset between pointers.
-**************************************************************************/
-
-ulong * STDCALL
-mysql_fetch_lengths(MYSQL_RES *res)
-{
- MYSQL_ROW column;
-
- if (!(column=res->current_row))
- return 0; /* Something is wrong */
- if (res->data)
- (*res->methods->fetch_lengths)(res->lengths, column, res->field_count);
- return res->lengths;
-}
-
-
-/**************************************************************************
Move to a specific row and column
**************************************************************************/