Below is the list of changes that have just been committed into a local
4.1 repository of lars. When lars does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2113 05/03/15 16:23:02 lars@stripped +1 -0
BUG#9123: If a table name is given with an underscore,
then this must be properly quoted when sent to
SHOW TABLES LIKE ...
client/mysqldump.c
1.179 05/03/15 16:22:53 lars@stripped +3 -1
BUG#9123: If a table name is given with an underscore,
then this must be properly quoted when sent to
SHOW TABLES LIKE ...
# 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: lars
# Host: goldfish.(none)
# Root: /home/bk/b9123-4.1
--- 1.178/client/mysqldump.c Sat Mar 5 21:05:59 2005
+++ 1.179/client/mysqldump.c Tue Mar 15 16:22:53 2005
@@ -2109,7 +2109,9 @@
char query[ NAME_LEN + 50 ];
DBUG_ENTER("get_actual_table_name");
- sprintf( query, "SHOW TABLES LIKE '%s'", old_table_name);
+ char show_name_buff[FN_REFLEN];
+ sprintf(query, "SHOW TABLES LIKE %s",
+ quote_for_like(old_table_name, show_name_buff));
if (mysql_query_with_error_report(sock, 0, query))
{
safe_exit(EX_MYSQLERR);
| Thread |
|---|
| • bk commit into 4.1 tree (lars:1.2113) BUG#9123 | Lars Thalmann | 15 Mar |