List:Internals« Previous MessageNext Message »
From:Jim Winstead Date:March 16 2005 2:33am
Subject:bk commit into 4.1 tree (jimw:1.2119) BUG#9186
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://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2119 05/03/15 17:33:06 jimw@stripped +1 -0
  Change mysql prompt while inside a multiline comment. (Bug #9186)

  client/mysql.cc
    1.200 05/03/15 17:33:04 jimw@stripped +2 -1
    Change prompt to "/*> " when inside a multiline comment.

# 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-9186

--- 1.199/client/mysql.cc	2005-03-07 00:47:18 -08:00
+++ 1.200/client/mysql.cc	2005-03-15 17:33:04 -08:00
@@ -936,7 +936,8 @@
     }
     else
     {
-      char *prompt= (char*) (glob_buffer.is_empty() ? construct_prompt() :
+      char *prompt= (char*) (ml_comment ? "   /*> " :
+                             glob_buffer.is_empty() ?  construct_prompt() :
 			     !in_string ? "    -> " :
 			     in_string == '\'' ?
 			     "    '> " : (in_string == '`' ?
Thread
bk commit into 4.1 tree (jimw:1.2119) BUG#9186Jim Winstead16 Mar