An error occurred fetching the project authors.
  1. 07 May, 2009 1 commit
  2. 24 Mar, 2009 1 commit
  3. 19 Mar, 2009 1 commit
  4. 18 Mar, 2009 1 commit
    • Alexey Kopytov's avatar
      Fix for bug#41486: extra character appears in BLOB for every · a3e5737a
      Alexey Kopytov authored
                         ~40Mb after mysqldump/import 
              
      When the input string exceeds the maximum allowed size for the 
      internal buffer, batch_readline() returns a truncated string. 
      Since there was no way for a caller to determine whether the 
      string was truncated or not, the command line client assumed 
      batch_readline() to always return the whole input string and 
      appended a newline character. This resulted in garbled data 
      when importing dumps containing strings longer than the 
      maximum input buffer size. 
        
      Fixed by adding a flag to the batch_readline() interface to 
      signal a truncated string to the caller. 
        
      Other minor problems fixed during patch implementation: 
       
      - The maximum allowed buffer size for batch_readline() was set 
      up depending on the client's max_allowed_packet value. It does 
      not actully make any sense, as those variables are not 
      related. The input buffer size limit is now always set to 1 
      MB. 
        
      - fill_buffer() did not always set the EOF flag. 
       
      - The input buffer could actually grow twice as the specified 
      limit due to insufficient checks in intern_read_line(). 
      a3e5737a
  5. 24 Feb, 2009 1 commit
    • Georgi Kodinov's avatar
      Bug #31060: MySQL CLI parser bug 2 · 13ec76b0
      Georgi Kodinov authored
            
      There was a problem when a DELIMITER COMMAND is not the first 
      command on the line. I this case an extra line feed was added
      to the glob buffer and this was causing subsequent attempts 
      to enter this delimiter to fail.
      Fixed by not adding a new line to the glob buffer if the 
      command being added is a DELIMITER
      13ec76b0
  6. 09 Jan, 2009 1 commit
  7. 11 Dec, 2008 1 commit
    • Chad MILLER's avatar
      Bug#33812: mysql client incorrectly parsing DELIMITER · cf9126a0
      Chad MILLER authored
      Fix parsing of mysql client commands, especially in relation to
      single-line comments when --comments was specified.
      
      This is a little tricky, because we need to allow single-line
      comments in the middle of statements, but we don't want to allow
      client commands in the middle of statements. So in
      comment-preservation mode, we go ahead and send single-line
      comments to the server immediately when we encounter them on their
      own. 
      
      This is still slightly flawed, in that it does not handle a
      single-line comment with leading spaces, followed by a client-side
      command when --comment has been enabled. But this isn't a new
      problem, and it is quite an edge condition. Fixing it would require
      a more extensive overall of how the mysql client parses commands. 
      cf9126a0
  8. 18 Jul, 2008 1 commit
  9. 24 Jun, 2008 1 commit
    • Gleb Shchepa's avatar
      back-port from 5.1. · 9ffe2c02
      Gleb Shchepa authored
      Bug#33812: mysql client incorrectly parsing DELIMITER
            
      Remove unnecessary and incorrect code that tried
      to pull delimiter commands out of the middle of
      statements.
      9ffe2c02
  10. 04 Oct, 2007 1 commit
  11. 20 Sep, 2007 1 commit
  12. 30 Aug, 2007 1 commit
    • kaa@polly.(none)'s avatar
      Bug #30164: Using client side macro inside server side comments generates broken queries · 2bb84964
      kaa@polly.(none) authored
        
      Problem:
        
      In cases when a client-side macro appears inside a server-side comment, the add_line() function in mysql.cc discarded all characters until the next delimiter to remove macro arguments from the query string. This resulted in broken queries being sent to the server when the next delimiter character appeared past the comment's boundaries, because the comment closing sequence ('*/') was discarded.
        
      Fix:
        
      If a client-side macro appears inside a server-side comment, discard all characters in the comment after the macro (that is, until the end of the comment rather than the next delimiter).
      This is a minimal fix to allow only simple cases used by the mysqlbinlog utility. Limitations that are worth documenting:
        
      - Nested server-side and/or client-side comments are not supported by mysql.cc
      - Using client-side macros in multi-line server-side comments is not supported
      - All characters after a client-side macro in a server-side comment will be omitted from the query string (and thus, will not be sent to server).
      2bb84964
  13. 23 Apr, 2007 1 commit
  14. 16 Apr, 2007 1 commit
    • ramil/ram@mysql.com/ramil.myoffice.izhnet.ru's avatar
      Fix for · e62dbcf7
      bug #27715: mysqld --character-sets-dir buffer overflow
      bug ##26851: Mysql Client --pager Buffer Overflow
      
      Using strmov() to copy an argument may cause overflow 
      if the argument's length is bigger than the buffer:
      use strmake instead.
      Also, we have to encrease the error message buffer size to fit 
      the longest message.
      e62dbcf7
  15. 19 Feb, 2007 1 commit
    • kaa@polly.local's avatar
      Bug#18743: Several test cases fails if "classic" configuration in 5.0 · 315819fe
      kaa@polly.local authored
      The problem happened because those tests were using "cp932" and "ucs2" without checking whether these character sets are available. This fix moves test parts to make character set specific parts be tested only if they are:
      - some parts were moved to "ctype_ucs.test" and "ctype_cp932.test"
      - some parts were moved to the newly added tests "innodb-ucs2.test", "mysqlbinglog-cp932.test" and "sp-ucs2.test"
      315819fe
  16. 28 Nov, 2006 1 commit
  17. 22 Nov, 2006 3 commits
  18. 03 Nov, 2006 2 commits
  19. 26 Oct, 2006 1 commit
  20. 09 Oct, 2006 1 commit
  21. 02 Oct, 2006 1 commit
  22. 13 Sep, 2006 1 commit
  23. 06 Sep, 2006 1 commit
  24. 24 Aug, 2006 1 commit
  25. 16 Aug, 2006 1 commit
  26. 02 Aug, 2006 1 commit
  27. 31 Jul, 2006 1 commit
  28. 24 Jul, 2006 1 commit
  29. 17 Jul, 2006 1 commit
  30. 10 May, 2006 1 commit
  31. 16 Apr, 2006 1 commit
  32. 04 Apr, 2006 1 commit
  33. 03 Mar, 2006 1 commit
  34. 09 Feb, 2006 1 commit
    • aelkin@mysql.com's avatar
      BUG#16217 forced to introduce a separate mysql client command to adopt its · dd2a44c4
      aelkin@mysql.com authored
      internal charset to one associated with currently being handled query. 
      To note such a query can come from interactive client either.
      
      There was a discussion within replication team and Monty who's suggestion won.
      It avoids straightforward parsing of all `set' queries that could affect client side 
      character set. 
      According to the idea, mysql client does not parse `set' queries but rather cares of
      `charset new_cs_name' command.
      This command is generated by mysqlbinlog in form of exclaiming comment (Lars' suggestion)
      so that enlightened clients like `mysql' knows what to do with it.
      
      Interactive human can switch between many multi-byte charsets during the session 
      providing the command explicitly. 
      To note that setting new internal mysql's charset does not
      trigger sending any `SET' sql statement to the server. 
      dd2a44c4
  35. 06 Oct, 2005 1 commit
    • monty@mysql.com's avatar
      Review of code pushed since last 5.0 pull: · 78e828d3
      monty@mysql.com authored
      Ensure that ccache is also used for C programs
      mysql: Ensure that 'delimiter' works the same way in batch mode as in normal mode
      mysqldump: Change to use ;; (instead of //) as a stored procedure/trigger delimiter
      Fixed test cases by adding missing DROP's and rename views to be of type 'v#'
      Removed MY_UNIX_PATH from fn_format()
      Removed current_db_used from TABLE_LIST
      Removed usage of 'current_thd' in Item_splocal
      Removed some compiler warnings
      A bit faster longlong2str code
      78e828d3
  36. 09 Aug, 2005 1 commit
  37. 03 Jun, 2005 1 commit