Sergei Golubchik
cb1e76e4de
Merge branch '10.1' into 10.2
2017-08-17 11:38:34 +02:00
Sergei Golubchik
8e8d42ddf0
Merge branch '10.0' into 10.1
2017-08-08 10:18:43 +02:00
Vicențiu Ciorbaru
786ad0a158
Merge remote-tracking branch 'origin/5.5' into 10.0
2017-07-25 00:41:54 +03:00
Sergei Golubchik
9a5fe1f4ea
Merge remote-tracking branch 'mysql/5.5' into 5.5
2017-07-18 14:59:10 +02:00
Daniel Black
7338d3f221
client: mysql - fix type
...
field_names[x][y] is a pointer
client/mysql.cc: In function 'void build_completion_hash(bool, bool)':
client/mysql.cc:2855:37: error: invalid conversion from 'char' to 'char*' [-fpermissive]
field_names[i][num_fields*2]= '\0';
Signed-off-by: Daniel Black <daniel.black@au.ibm.com >
2017-07-14 10:57:57 +04:00
Sergei Golubchik
c9801135c1
Merge branch '10.1' into 10.2
2017-07-08 09:56:28 +02:00
Sergei Golubchik
9e11e055ce
Merge branch '10.0' into 10.1
2017-07-07 11:30:03 +02:00
Sergei Golubchik
4d21313549
coverity medium warnings
2017-07-06 23:46:28 +02:00
Sergei Golubchik
f6633bf058
Merge branch '10.1' into 10.2
2017-07-05 19:08:55 +02:00
Sergei Golubchik
d2d52305b4
MDEV-12755 Replication tests fail in buildbot with ASAN
...
remove double-initialization of MYSQL structure
2017-07-05 17:15:59 +02:00
Sergei Golubchik
d3cc15eb82
Merge branch '10.0' into 10.1
2017-06-30 13:28:39 +02:00
Sergei Golubchik
a02ba9c1c9
Merge branch '5.5' into 10.0
2017-06-28 10:10:31 +02:00
Sergei Golubchik
d5cd334504
MDEV-13187 incorrect backslash parsing in clients
...
cover ANSI_QUOTES and NO_BACKSLASH_ESCAPES in mysqltest
2017-06-27 14:00:37 +02:00
Sergei Golubchik
39385ff7b2
MDEV-13187 incorrect backslash parsing in clients
...
don't do backslash escapes inside backticks
2017-06-27 13:25:50 +02:00
Marko Mäkelä
8f643e2063
Merge 10.1 into 10.2
2017-05-23 11:09:47 +03:00
Marko Mäkelä
b61700c221
Merge 10.0 into 10.1
2017-05-23 08:59:03 +03:00
Ivo Roylev
20addb05e5
Bug# 25998635: Client does not escape the USE statement
...
When there are quotes in the USE statement, the mysql client does
not correctly escape them.
The USE statement is processed line by line from the client's parser,
and cannot handle multi-line commands as the server.
The fix is to escape the USE parameters whenever quotes are used.
2017-05-22 15:52:00 +03:00
Sergei Golubchik
7c03edf2fe
MDEV-6262 analyze the coverity report on mariadb
...
uploaded 10.0, analyzed everything with the Impact=High
(and a couple of Medium)
2017-05-19 20:26:56 +02:00
Sergei Golubchik
c91ecf9e9b
Merge branch '10.1' into 10.2
...
Revert commit db0917f68f , because the fix for MDEV-12696
is coming from 5.5 and 10.1 in this merge.
2017-05-09 13:24:52 +02:00
Anushree Prakash B
756b00d80a
Bug#25340722 - PRINT BINARY DATA AS HEX IN THE MYSQL
...
CLIENT (CONTRIBUTION)
DESCRIPTION:
============
Binary data should be printed as hex in the mysql client
when the option binary-as-hex is enabled.
ANALYSIS:
=========
The fix deals only with mysql command line client.
It does not change, at all, the data sent to the
applications. Printing binary data as hex also
allows to use the output in the where clause
of the query.
FIX:
====
A new option 'binary-as-hex' is introduced to print the
binary contents as hex in the mysql client. The option
is disabled by default. When the option is enabled, we
convert the binary data to hex before printing the
contents irrespective of whether it is in tabular,
xml or html format.
2017-05-03 15:16:08 +00:00
Sergei Golubchik
e74f2e2b86
Merge branch '10.0' 10.1
2017-04-28 20:19:32 +02:00
Sergei Golubchik
8d75a7533e
Merge branch '5.5' into 10.0
2017-04-21 18:34:06 +02:00
Sergei Golubchik
663068c6ee
Merge remote-tracking branch 'mysql/5.5' into 5.5
2017-04-11 10:18:04 -04:00
Sergei Golubchik
da4d71d10d
Merge branch '10.1' into 10.2
2017-03-30 12:48:42 +02:00
iangilfillan
f0ec34002a
Correct FSF address
2017-03-10 18:21:29 +01:00
Ramil Kalimullin
060b1eadf4
BUG#25575605: SETTING --SSL-MODE=REQUIRED SENDS CREDENTIALS BEFORE VERIFYING SSL CONNECTION
...
MYSQL_OPT_SSL_MODE option introduced.
It is set in case of --ssl-mode=REQUIRED and permits only SSL connection.
(cherry picked from commit 3b2d28578c526f347f5cfe763681eff365731f99)
2017-03-10 14:11:26 +05:30
Ramil Kalimullin
2531c8dcd1
BUG#25575605: SETTING --SSL-MODE=REQUIRED SENDS CREDENTIALS BEFORE VERIFYING SSL CONNECTION
...
MYSQL_OPT_SSL_MODE option introduced.
It is set in case of --ssl-mode=REQUIRED and permits only SSL connection.
2017-03-10 01:19:50 +04:00
Sergei Golubchik
4a5d25c338
Merge branch '10.1' into 10.2
2016-12-29 13:23:18 +01:00
Sergei Golubchik
a98c85bb50
Merge branch '10.0-galera' into 10.1
2016-11-02 13:44:07 +01:00
Sergey Vojtovich
ce1011669b
MDEV-11175 - \H option does not replace localhost with a host name
...
Let \H issue host name when connected to localhost via TCP/IP.
2016-11-02 12:19:37 +04:00
Sergei Golubchik
12c3e16dfa
Merge branch '5.5' into 10.0
2016-10-25 16:41:43 +02:00
Sergei Golubchik
383007c75d
mysql cli: fix USE command quoting
...
* use proper sql quoting rules for USE, while preserving
as much of historical behavior as possible
* short commands (\u) behave as before
2016-10-13 21:38:32 +02:00
Sergei Golubchik
ece01ef3dc
After-review changes
...
* remove redundant code
* fix tests
* move declarations and defines where they belong
2016-09-12 17:51:50 +02:00
Vladislav Vaintroub
56c4cfe0be
MDEV-9293 - Use MariaDB's Connector/C in server
2016-08-25 16:27:57 +02:00
Vladislav Vaintroub
31a8cf54c8
Revert "MDEV-9293 Connector/C integration"
...
This reverts commit 7b89b9f510 .
2016-08-19 15:46:27 +00:00
Vladislav Vaintroub
7b89b9f510
MDEV-9293 Connector/C integration
2016-08-19 15:27:37 +00:00
Sergei Golubchik
932646b1ff
Merge branch '10.1' into 10.2
2016-06-30 16:38:05 +02:00
Sergey Vojtovich
1c68b9e9a4
MDEV-505 - feature request: add \H option for mysql client prompt
...
An addition to original patch:
- use FN_REFLEN instead of HOST_NAME_MAX (the latter can be undefined)
- avoid calling gethostname() on every prompt construction by caching it
2016-05-10 14:23:30 +04:00
Dan Ungureanu
eca060775e
MDEV-505: feature request: add \H option for mysql client prompt
...
Introduce `\H` option which behaves mostly like `\h`. The only exception is
when the client connects to the server hosted on localhost. In this case, the
hostname will be used instead.
2016-05-10 13:40:35 +04:00
Sergei Golubchik
87e3e67f43
Merge branch '10.0' into 10.1
2016-05-04 15:23:26 +02:00
Sergei Golubchik
872649c7ba
Merge branch '5.5' into 10.0
2016-04-26 23:05:26 +02:00
Sergey Vojtovich
0ea4c73dae
Fixed compilation failure due to unused var.
2016-04-23 12:15:18 +04:00
Sergei Golubchik
b069d19284
Merge branch 'mysql/5.5' into 5.5
2016-04-20 15:25:55 +02:00
Sergei Golubchik
ce355304e6
MDEV-9885 Client doesn't start if 'TERM' unknown
...
1. don't exit if setupterm() failed
2. don't use vidattr() if setupterm() failed
2016-04-19 11:27:00 +02:00
Sergei Golubchik
f67a2211ec
Merge branch '10.1' into 10.2
2016-03-23 22:36:46 +01:00
Sergei Golubchik
3b0c7ac1f9
Merge branch '10.0' into 10.1
2016-03-21 13:02:53 +01:00
Otto Kekäläinen
1777fd5f55
Fix spelling: occurred, execute, which etc
2016-03-04 02:09:37 +02:00
Sergei Golubchik
00d1db7a38
Merge branch '10.1' into 10.2
2016-02-25 18:19:55 +01:00
Sergei Golubchik
a5679af1b1
Merge branch '10.0' into 10.1
2016-02-23 21:35:05 +01:00
Ramil Kalimullin
b3e9211e48
WL#9072: Backport WL#8785 to 5.5
2016-02-19 23:31:10 +04:00