Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Faustin Lammler
mariadb-10.1
Commits
91e56d63
Commit
91e56d63
authored
Aug 02, 2019
by
Otto Kekäläinen
Browse files
New upstream version 10.1.41
parent
fdf4a605
Changes
1000
Hide whitespace changes
Inline
Side-by-side
Too many changes to show.
To preserve performance only
20 of 1000+
files are displayed.
Plain diff
Email patch
VERSION
View file @
91e56d63
MYSQL_VERSION_MAJOR=10
MYSQL_VERSION_MINOR=1
MYSQL_VERSION_PATCH=4
0
MYSQL_VERSION_PATCH=4
1
client/CMakeLists.txt
View file @
91e56d63
...
...
@@ -12,7 +12,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
01
USA
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
35
USA
INCLUDE_DIRECTORIES
(
${
CMAKE_SOURCE_DIR
}
/include
...
...
client/client_priv.h
View file @
91e56d63
...
...
@@ -13,7 +13,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
01
USA
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
35
USA
*/
/* Common defines for all clients */
...
...
client/completion_hash.cc
View file @
91e56d63
...
...
@@ -11,7 +11,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
01
USA */
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
35
USA */
/* Quick & light hash implementation for tab completion purposes
*
...
...
client/completion_hash.h
View file @
91e56d63
...
...
@@ -14,7 +14,7 @@
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-13
01,
USA */
MA 02110-13
35
USA */
#ifndef _HASH_
#define _HASH_
...
...
client/echo.c
View file @
91e56d63
...
...
@@ -12,7 +12,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-13
01,
USA */
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-13
35
USA */
/*
echo is a replacement for the "echo" command builtin to cmd.exe
...
...
client/get_password.c
View file @
91e56d63
...
...
@@ -12,7 +12,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-13
01,
USA */
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-13
35
USA */
/*
** Ask for a password from tty
...
...
client/my_readline.h
View file @
91e56d63
...
...
@@ -15,7 +15,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
01
USA
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
35
USA
*/
/* readline for batch mode */
...
...
client/mysql.cc
View file @
91e56d63
...
...
@@ -13,7 +13,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 0211
1
-13
01
USA */
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 0211
0
-13
35
USA */
/* mysql command tool
* Commands compatible with mSQL by David J. Hughes
...
...
@@ -3128,7 +3128,7 @@ static int
com_help
(
String
*
buffer
__attribute__
((
unused
)),
char
*
line
__attribute__
((
unused
)))
{
reg1
int
i
,
j
;
int
i
,
j
;
char
*
help_arg
=
strchr
(
line
,
' '
),
buff
[
32
],
*
end
;
if
(
help_arg
)
{
...
...
client/mysql_plugin.c
View file @
91e56d63
...
...
@@ -12,7 +12,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-13
01,
USA
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-13
35
USA
*/
#include
<my_global.h>
...
...
client/mysql_upgrade.c
View file @
91e56d63
...
...
@@ -13,7 +13,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
01
USA
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
35
USA
*/
#include
"client_priv.h"
...
...
client/mysqladmin.cc
View file @
91e56d63
...
...
@@ -13,7 +13,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-13
01,
USA */
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-13
35
USA */
/* maintaince of mysql databases */
...
...
client/mysqlbinlog.cc
View file @
91e56d63
...
...
@@ -13,7 +13,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
01
USA
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
35
USA
*/
/*
...
...
client/mysqlcheck.c
View file @
91e56d63
...
...
@@ -13,7 +13,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
01
USA
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
35
USA
*/
/* By Jani Tolonen, 2001-04-20, MySQL Development Team */
...
...
client/mysqldump.c
View file @
91e56d63
...
...
@@ -13,7 +13,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-13
01,
USA
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-13
35
USA
*/
/* mysqldump.c - Dump a tables contents and format to an ASCII file
...
...
client/mysqlimport.c
View file @
91e56d63
...
...
@@ -13,7 +13,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
01
USA
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
35
USA
*/
/*
...
...
@@ -48,8 +48,8 @@ static char *add_load_option(char *ptr,const char *object,
const
char
*
statement
);
static
my_bool
verbose
=
0
,
lock_tables
=
0
,
ignore_errors
=
0
,
opt_delete
=
0
,
replace
=
0
,
silent
=
0
,
ignore
=
0
,
opt_compress
=
0
,
opt_low_priority
=
0
,
tty_password
=
0
;
replace
,
silent
,
ignore
,
ignore_foreign_keys
,
opt_compress
,
opt_low_priority
,
tty_password
;
static
my_bool
debug_info_flag
=
0
,
debug_check_flag
=
0
;
static
uint
opt_use_threads
=
0
,
opt_local_file
=
0
,
my_end_arg
=
0
;
static
char
*
opt_password
=
0
,
*
current_user
=
0
,
...
...
@@ -123,6 +123,10 @@ static struct my_option my_long_options[] =
&
current_host
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"ignore"
,
'i'
,
"If duplicate unique key was found, keep old row."
,
&
ignore
,
&
ignore
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"ignore-foreign-keys"
,
'k'
,
"Disable foreign key checks while importing the data."
,
&
ignore_foreign_keys
,
&
ignore_foreign_keys
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"ignore-lines"
,
OPT_IGN_LINES
,
"Ignore first n lines of data infile."
,
&
opt_ignore_lines
,
&
opt_ignore_lines
,
0
,
GET_LL
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
...
...
@@ -487,6 +491,9 @@ static MYSQL *db_connect(char *host, char *database,
ignore_errors
=
0
;
db_error
(
mysql
);
}
if
(
ignore_foreign_keys
)
mysql_query
(
mysql
,
"set foreign_key_checks= 0;"
);
return
mysql
;
}
...
...
client/mysqlshow.c
View file @
91e56d63
...
...
@@ -13,7 +13,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
01
USA
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
35
USA
*/
/* Show databases, tables or columns */
...
...
client/mysqlslap.c
View file @
91e56d63
...
...
@@ -13,7 +13,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
01
USA
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
35
USA
*/
/*
...
...
client/mysqltest.cc
View file @
91e56d63
...
...
@@ -12,7 +12,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
01
USA */
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
35
USA */
/*
mysqltest
...
...
@@ -1044,8 +1044,8 @@ void do_eval(DYNAMIC_STRING *query_eval, const char *query,
const char *query_end, my_bool pass_through_escape_chars)
{
const char *p;
register
char
c
,
next_c
;
register
int
escaped
=
0
;
char c, next_c;
int escaped = 0;
VAR *v;
DBUG_ENTER("do_eval");
...
...
@@ -2341,7 +2341,7 @@ C_MODE_START
static uchar *get_var_key(const uchar* var, size_t *len,
my_bool __attribute__((unused)) t)
{
register
char
*
key
;
char* key;
key = ((VAR*)var)->name;
*len = ((VAR*)var)->name_len;
return (uchar*)key;
...
...
@@ -9900,7 +9900,7 @@ typedef struct st_pointer_array { /* when using array-strings */
struct st_replace *init_replace(char * *from, char * *to, uint count,
char * word_end_chars);
int
insert_pointer_name
(
reg1
POINTER_ARRAY
*
pa
,
char
*
name
);
int insert_pointer_name(POINTER_ARRAY *pa,char * name);
void free_pointer_array(POINTER_ARRAY *pa);
/*
...
...
@@ -9984,8 +9984,8 @@ void replace_strings_append(REPLACE *rep, DYNAMIC_STRING* ds,
const char *str,
int len __attribute__((unused)))
{
reg1
REPLACE
*
rep_pos
;
reg2
REPLACE_STRING
*
rep_str
;
REPLACE *rep_pos;
REPLACE_STRING *rep_str;
const char *start, *from;
DBUG_ENTER("replace_strings_append");
...
...
@@ -10891,7 +10891,7 @@ void internal_clear_bit(REP_SET *set, uint bit)
void or_bits(REP_SET *to,REP_SET *from)
{
reg1
uint
i
;
uint i;
for (i=0 ; i < to->size_of_bits ; i++)
to->bits[i]|=from->bits[i];
return;
...
...
@@ -10993,7 +10993,7 @@ uint end_of_word(char * pos)
#define PC_MALLOC 256 /* Bytes for pointers */
#define PS_MALLOC 512 /* Bytes for data */
int
insert_pointer_name
(
reg1
POINTER_ARRAY
*
pa
,
char
*
name
)
int insert_pointer_name(POINTER_ARRAY *pa,char * name)
{
uint i,length,old_count;
uchar *new_pos;
...
...
client/readline.cc
View file @
91e56d63
...
...
@@ -12,7 +12,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
01
USA
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-13
35
USA
*/
/* readline for batch mode */
...
...
Prev
1
2
3
4
5
6
7
8
…
50
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment