MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Chad MILLER Date:July 19 2006 6:34pm
Subject:bk commit into 5.0 tree (cmiller:1.2230) BUG#14448
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of cmiller. When cmiller 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@stripped, 2006-07-19 14:33:56-04:00, cmiller@stripped +1 -0
  Bug #14448: delimiter in 'prompt'
  
  "I want to have the current delimiter in the prompt so that I can know at 
  a glance which is set."
  
  Add a 'l' format specifier that represents the current statement delimiter.

  client/mysql.cc@stripped, 2006-07-19 14:33:54-04:00, cmiller@stripped +3 -0
    Add a 'l' prompt format specifier, which becomes the current delimiter
    string in the prompt.

# 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:	cmiller
# Host:	zippy.cornsilk.net
# Root:	/home/cmiller/work/mysql/mysql-5.0-maint

--- 1.208/client/mysql.cc	2006-07-19 14:34:00 -04:00
+++ 1.209/client/mysql.cc	2006-07-19 14:34:00 -04:00
@@ -3724,6 +3724,9 @@
       case 't':
 	processed_prompt.append('\t');
 	break;
+      case 'l':
+	processed_prompt.append(delimiter_str);
+	break;
       default:
 	processed_prompt.append(c);
       }
Thread
bk commit into 5.0 tree (cmiller:1.2230) BUG#14448Chad MILLER19 Jul