summaryrefslogtreecommitdiff
path: root/client/mysql.cc
Commit message (Collapse)AuthorAgeFilesLines
* Automerge from mysql-next-mr.Alexander Nozdrin2009-10-231-2/+2
|\
| * Merging mysql-next-mr-merge to mysql-next-mr.Alexander Barkov2009-10-211-1/+8
| |\
| * \ mergeGeorgi Kodinov2009-10-141-1/+1
| |\ \
| | * | "MySQL Network" => "MySQL Enterprise"Kent Boortz2009-10-081-1/+1
| | | |
| * | | Bug #43414 Parenthesis (and other) warnings compiling MySQLStaale Smedseng2009-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | with gcc 4.3.2 Cleaning up warnings not present in 5.0.
* | | | WL#1349 Use operating system localization to send it as a default client ↵Alexander Barkov2009-10-211-12/+8
| |_|/ |/| | | | | | | | character set
* | | WL#751 Error message construction, backportSergey Glukhov2009-10-151-1/+8
|/ /
* | Merge from 5.0 for 43414Staale Smedseng2009-08-281-1/+2
|\ \ | |/
| * Bug #43414 Parenthesis (and other) warnings compiling MySQLStaale Smedseng2009-08-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with gcc 4.3.2 This patch fixes a number of GCC warnings about variables used before initialized. A new macro UNINIT_VAR() is introduced for use in the variable declaration, and LINT_INIT() usage will be gradually deprecated. (A workaround is used for g++, pending a patch for a g++ bug.) GCC warnings for unused results (attribute warn_unused_result) for a number of system calls (present at least in later Ubuntus, where the usual void cast trick doesn't work) are also fixed.
* | Fix for a few assorted compiler warnings.Davi Arnaut2009-08-281-9/+9
| |
* | Merge bug fix.Jim Winstead2009-07-301-3/+28
|\ \
| * | The handling of NUL bytes in column data in the various output formatsJim Winstead2009-07-141-3/+28
| | | | | | | | | | | | supported by the mysql client was inconsistent. (Bug #28203)
* | | Merge in bug fixes for client toolsJim Winstead2009-07-141-1/+21
|\ \ \ | |/ /
| * | The mysql command-line client would include superfluous spaces at the end ofJim Winstead2009-05-201-1/+4
| | | | | | | | | | | | some result set lines. (Bug #29622)
| * | The mysql command-line client didn't implement the readline magic-spaceJim Winstead2009-05-191-0/+17
| | | | | | | | | | | | | | | command, which bash does, which could result in a user accidentally disabling the use of the space key in the mysql command-line client. (Bug #27439)
* | | Bug#37274 client 'status' command doesn't print all info after losing ↵Kristofer Pettersson2009-07-031-31/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connection to server If the server connection was lost during repeated status commands, the client would fail to detect this and the client output would be inconsistent. This patch fixes this issue by making sure that the server is online before the client attempts to execute the status command.
* | | Merge from 5.0Staale Smedseng2009-06-291-3/+3
|\ \ \ | | |/ | |/|
| * | Merge from 5.0-btStaale Smedseng2009-06-291-3/+3
| | |
* | | Bug#44834 strxnmov is expected to behave as you'd expectSergey Glukhov2009-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The problem: described in the bug report. The fix: --increase buffers where it's necessary (buffers which are used in stxnmov) --decrease buffer lengths which are used
* | | Automerge.Alexey Kopytov2009-06-171-1/+1
|\ \ \ | |/ /
| * | Bug #45236: large blob inserts from mysqldump fail, possible Alexey Kopytov2009-06-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | memory issue ? The mysql command line client could misinterpret some character sequences as commands under some circumstances. The upper limit for internal readline buffer was raised to 1 GB (the same as for server's max_allowed_packet) so that any input line is processed by add_line() as a whole rather than in chunks.
* | | 5.0-bugteam->5.1-bugteam mergeSergey Glukhov2009-05-281-2/+2
|\ \ \ | |/ /
| * | Bug#37268 'binary' character set makes CLI-internal commands case sensitiveSergey Glukhov2009-05-281-2/+2
| | | | | | | | | | | | | | | | | | The fix is to use case insensitive collation for mysql client command search.
* | | Merge from 5.0-bugteamJim Winstead2009-05-131-3/+9
|\ \ \ | |/ / | | / | |/ |/|
| * Fix support for -i (--ignore-spaces) in the mysql command line application,Jim Winstead2009-05-071-3/+8
| | | | | | | | which didn't actually do anything. (Bug #39101)
* | The mysql command-line client did not properly handle MYSQL_HISTFILE being setJim Winstead2009-05-071-2/+8
| | | | | | | | | | to an empty string, or to /dev/null, as we suggest and have suggested in the documentation. (Bug #34224)
* | Remove extraneous space in --debug-check usage info.Jim Winstead2009-04-281-1/+1
| |
* | Bug #27884: mysql --html does not quote HTML special characters in outputJim Winstead2009-04-281-4/+7
| | | | | | | | Fix encoding of field values and names in HTML output from mysql client.
* | 5.0-bugteam->5.1-bugteam mergeSergey Glukhov2009-04-141-1/+1
|\ \ | |/
| * Bug#41268 Help Text for \c is misleading in client command line interface(addon)Sergey Glukhov2009-04-141-1/+1
| | | | | | | | fixed message for 'help' command
| * auto-mergeTatiana A. Nurnberg2009-03-231-13/+32
| |\
| | * auto-mergeIgnacio Galarza2009-03-191-10/+14
| | |\
| | * \ auto-mergeIgnacio Galarza2009-03-191-3/+17
| | |\ \
| | * | | Bug#29125 Windows Server X64: so many compiler warningsIgnacio Galarza2009-02-101-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | - Remove bothersome warning messages. This change focuses on the warnings that are covered by the ignore file: support-files/compiler_warnings.supp. - Strings are guaranteed to be max uint in length
* | | | | auto-mergeTatiana A. Nurnberg2009-03-231-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Bug#43254: SQL_SELECT_LIMIT=0 crashes command line clientTatiana A. Nurnberg2009-03-231-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When asking what database is selected, client expected to *always* get an answer from the server. We now handle failure more gracefully. See comments in ticket for a discussion of what happens, and how things interlock.
* | | | Bug#43153: Version comment is too longTatiana A. Nurnberg2009-03-191-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-client used static buffer to concatenate server- version and version_comment. Sufficiently long comments could get cut off. This was harmless, but looked daft. Now using a dynamic buffer instead.
* | | | 5.0-bugteam->5.1-bugteam mergeSergey Glukhov2009-03-191-1/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | Bug#41268 Help Text for \c is misleading in client command line interfaceSergey Glukhov2009-03-191-1/+1
| | | | | | | | | | | | | | | | fixed help message
* | | | Manual merge.Alexey Kopytov2009-03-181-9/+13
|\ \ \ \ | |/ / /
| * | | Fix for bug#41486: extra character appears in BLOB for every Alexey Kopytov2009-03-181-9/+13
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~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().
| * | Bug #31060: MySQL CLI parser bug 2Georgi Kodinov2009-02-241-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | merged bug 31060 to 5.1-bugteamGeorgi Kodinov2009-02-251-1/+15
|\ \ \
| * | | Bug #31060: MySQL CLI parser bug 2Georgi Kodinov2009-02-241-1/+15
| |/ / | | | | | | | | | | | | | | | | | | | | | 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
* | | automergeTatiana A. Nurnberg2009-02-241-1/+1
|\ \ \ | |/ /
| * | Bug#37400: mysql: Bad help message for charset commandTatiana A. Nurnberg2009-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | Typo existed in help-text for command "charset" in mysql client, making the parameter-name different for long and short forms of the command for no good reason. Fixed.
* | | merge of bug 26724 to 5.1-bugteamGeorgi Kodinov2009-02-181-1/+1
|\ \ \ | |/ /
| * | Bug #26724: mysql command line client, ignores input to internal cmd after spaceGeorgi Kodinov2009-02-181-1/+1
| |/ | | | | Removed the misleading "NOTE:" from the \h command.
* | merged 5.0-bugteam -> 5.1-bugteamGeorgi Kodinov2009-02-101-1/+3
|\ \ | |/
| * From jperkin : Merge libedit 2.11 and related files, Georgi Kodinov2009-02-101-1/+3
| | | | | | | | based on NetBSD CVS as of 2009/02/06 20:09:00.