Below is the list of changes that have just been commited into a local
MyODBC 3.51 repository of 'dellis'. When 'dellis' does a push, they will
be propogaged to the main repository and within 2 hours after the push
into the public repository.
For more information on how to access the public repository see:
http://www.mysql.com/products/myodbc/faq_2.html#Development_ source
You can also browse the changes from public repository:
Complete repository: http://mysql.bkbits.net:8080/myodbc3/
This changeset : http://mysql.bkbits.net:8080/myodbc3/cset [at] 1.445
ChangeSet
1.445 05/01/29 16:30:17 dean [at] mysql.com +3 -0
cursor.c, catalog.c:
mysql_list_dbcolumns and insert_fields() retrieve entire table; adding LIMIT 0 clauses (Bug #8198)
BitKeeper/etc/logging_ok
1.43 05/01/29 16:30:17 dean [at] mysql.com +1 -0
Logging to logging [at] openlogging.org accepted
driver/cursor.c
1.79 05/01/29 16:29:43 dean [at] mysql.com +1 -1
mysql_list_dbcolumns and insert_fields() retrieve entire table; adding LIMIT 0 clauses (Bug #8198)
driver/catalog.c
1.42 05/01/29 16:29:43 dean [at] mysql.com +1 -1
mysql_list_dbcolumns and insert_fields() retrieve entire table; adding LIMIT 0 clauses (Bug #8198)
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: dean
# Host: niflheim.lan
# Root: /home/dellis/mysqlab/bk/myodbc-3.51
--- 1.78/driver/cursor.c 2005-01-28 13:33:49 -06:00
+++ 1.79/driver/cursor.c 2005-01-29 16:29:43 -06:00
[at] [at] -593,7 +593,7 [at] [at]
return(SQL_ERROR);
/* Get a temp result of all columns from the table .. */
- strxmov(select, "SELECT * FROM `",stmt->table_name,"`",NullS);
+ strxmov(select, "SELECT * FROM `",stmt->table_name,"` LIMIT 0",NullS);
MYLOG_QUERY(stmt, select);
pthread_mutex_lock(&stmt->dbc->lock);
if ((mysql_query(&stmt->dbc->mysql,select) ||
--- 1.42/BitKeeper/etc/logging_ok 2005-01-27 23:40:08 -06:00
+++ 1.43/BitKeeper/etc/logging_ok 2005-01-29 16:30:17 -06:00
[at] [at] -1,5 +1,6 [at] [at]
Administrator [at] venu.
arjen [at] co3064164-a.bitbike.com
+dean [at] mysql.com
dellis [at] niflheim.lan
eren [at] side.
greg [at] mysql.com
--- 1.41/driver/catalog.c 2005-01-28 13:33:49 -06:00
+++ 1.42/driver/catalog.c 2005-01-29 16:29:43 -06:00
[at] [at] -669,7 +669,7 [at] [at]
strxmov(select,select," FROM ",TableQualifier,".`",TableName,"`",NullS);
else
strxmov(select,select," FROM ",TableName,NullS);
-
+ strxmov(select,select," LIMIT 0",NullS);
mysql_free_result(result);
MYLOG_QUERY(stmt, select);
--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc [at] m.gmane.org
