List:Internals« Previous MessageNext Message »
From:Jim Winstead Date:February 18 2005 8:37pm
Subject:bk commit into 4.1 tree (jimw:1.2170)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of jimw. When jimw 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://www.mysql.com/doc/I/n/Installing_source_tree.html

ChangeSet
  1.2170 05/02/18 12:37:18 jimw@stripped +1 -0
  Remove doubled quotes (used for escaping) in table names in mysqlhotcopy.
  Part of fix for Bug #8136.

  scripts/mysqlhotcopy.sh
    1.49 05/02/18 12:36:14 jimw@stripped +4 -1
    Un-escape doubled quotes within table names.

# 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:	jimw
# Host:	rama.(none)
# Root:	/home/jimw/my/mysql-4.1-8136

--- 1.48/scripts/mysqlhotcopy.sh	2005-01-27 14:25:43 -08:00
+++ 1.49/scripts/mysqlhotcopy.sh	2005-02-18 12:36:14 -08:00
@@ -821,7 +821,10 @@
     ## Remove quotes around table names
     my $quote = $dbh->get_info(29); # SQL_IDENTIFIER_QUOTE_CHAR
     if ($quote) {
-      foreach (@dbh_tables) { s/^$quote(.*)$quote$/$1/; }
+      foreach (@dbh_tables) {
+        s/^$quote(.*)$quote$/$1/;
+        s/$quote$quote/$quote/g;
+      }
     }
 
     $dbh->disconnect();
Thread
bk commit into 4.1 tree (jimw:1.2170)Jim Winstead18 Feb