mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
added compress/uncompress function
This commit is contained in:
parent
028c35847f
commit
950fa7aa8a
38 changed files with 332 additions and 2 deletions
|
@ -270,4 +270,8 @@
|
|||
#define ER_COLLATION_CHARSET_MISMATCH 1251
|
||||
#define ER_SLAVE_WAS_RUNNING 1252
|
||||
#define ER_SLAVE_WAS_NOT_RUNNING 1253
|
||||
#define ER_ERROR_MESSAGES 254
|
||||
#define ER_TOO_BIG_FOR_UNCOMPRESS 1254
|
||||
#define ER_ZLIB_Z_MEM_ERROR 1255
|
||||
#define ER_ZLIB_Z_BUF_ERROR 1256
|
||||
#define ER_ZLIB_Z_DATA_ERROR 1257
|
||||
#define ER_ERROR_MESSAGES 258
|
||||
|
|
4
mysql-test/include/have_compress.inc
Normal file
4
mysql-test/include/have_compress.inc
Normal file
|
@ -0,0 +1,4 @@
|
|||
-- require r/have_compress.require
|
||||
disable_query_log;
|
||||
show variables like "have_compress";
|
||||
enable_query_log;
|
35
mysql-test/r/func_compress.result
Normal file
35
mysql-test/r/func_compress.result
Normal file
|
@ -0,0 +1,35 @@
|
|||
select @test_compress_string:='string for test compress function aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ';
|
||||
@test_compress_string:='string for test compress function aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa '
|
||||
string for test compress function aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
select length(@test_compress_string);
|
||||
length(@test_compress_string)
|
||||
117
|
||||
select uncompress(compress(@test_compress_string));
|
||||
uncompress(compress(@test_compress_string))
|
||||
string for test compress function aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
select uncompress(@test_compress_string);
|
||||
uncompress(@test_compress_string)
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1254 Too big size of uncompressed data. The maximum size is 8192. (probably, length of uncompressed data was corrupted)
|
||||
select uncompressed_length(compress(@test_compress_string))=length(@test_compress_string);
|
||||
uncompressed_length(compress(@test_compress_string))=length(@test_compress_string)
|
||||
1
|
||||
select uncompressed_length(compress(@test_compress_string));
|
||||
uncompressed_length(compress(@test_compress_string))
|
||||
117
|
||||
select length(compress(@test_compress_string))<length(@test_compress_string);
|
||||
length(compress(@test_compress_string))<length(@test_compress_string)
|
||||
1
|
||||
create table t1 (a text, b char(255), c char(4)) type=myisam;
|
||||
insert into t1 (a,b,c) values (compress(@test_compress_string),compress(@test_compress_string),'d ');
|
||||
select uncompress(a) from t1;
|
||||
uncompress(a)
|
||||
string for test compress function aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
select uncompress(b) from t1;
|
||||
uncompress(b)
|
||||
string for test compress function aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
select concat('|',c,'|') from t1;
|
||||
concat('|',c,'|')
|
||||
|d|
|
||||
drop table t1;
|
2
mysql-test/r/have_compress.require
Normal file
2
mysql-test/r/have_compress.require
Normal file
|
@ -0,0 +1,2 @@
|
|||
Variable_name Value
|
||||
have_compress YES
|
20
mysql-test/t/func_compress.test
Normal file
20
mysql-test/t/func_compress.test
Normal file
|
@ -0,0 +1,20 @@
|
|||
-- source include/have_compress.inc
|
||||
#
|
||||
# Test for compress and uncompress functions:
|
||||
#
|
||||
|
||||
select @test_compress_string:='string for test compress function aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ';
|
||||
select length(@test_compress_string);
|
||||
|
||||
select uncompress(compress(@test_compress_string));
|
||||
select uncompress(@test_compress_string);
|
||||
select uncompressed_length(compress(@test_compress_string))=length(@test_compress_string);
|
||||
select uncompressed_length(compress(@test_compress_string));
|
||||
select length(compress(@test_compress_string))<length(@test_compress_string);
|
||||
|
||||
create table t1 (a text, b char(255), c char(4)) type=myisam;
|
||||
insert into t1 (a,b,c) values (compress(@test_compress_string),compress(@test_compress_string),'d ');
|
||||
select uncompress(a) from t1;
|
||||
select uncompress(b) from t1;
|
||||
select concat('|',c,'|') from t1;
|
||||
drop table t1;
|
|
@ -640,3 +640,23 @@ Item *create_func_point(Item *a, Item *b)
|
|||
{
|
||||
return new Item_func_point(a, b);
|
||||
}
|
||||
|
||||
#ifdef HAVE_COMPRESS
|
||||
|
||||
Item *create_func_compress(Item* a)
|
||||
{
|
||||
return new Item_func_compress(a);
|
||||
}
|
||||
|
||||
Item *create_func_uncompress(Item* a)
|
||||
{
|
||||
return new Item_func_uncompress(a);
|
||||
}
|
||||
|
||||
Item *create_func_uncompressed_length(Item* a)
|
||||
{
|
||||
return new Item_func_uncompressed_length(a);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -140,3 +140,10 @@ Item *create_func_numinteriorring(Item *a);
|
|||
Item *create_func_numgeometries(Item *a);
|
||||
|
||||
Item *create_func_point(Item *a, Item *b);
|
||||
|
||||
#ifdef HAVE_COMPRESS
|
||||
Item *create_func_compress(Item *a);
|
||||
Item *create_func_uncompress(Item *a);
|
||||
Item *create_func_uncompressed_length(Item *a);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -983,8 +983,20 @@ longlong Item_func_crc32::val_int()
|
|||
null_value=0;
|
||||
return (longlong) crc32(0L, (Bytef*)res->ptr(), res->length());
|
||||
}
|
||||
#endif /* HAVE_COMPRESS */
|
||||
|
||||
longlong Item_func_uncompressed_length::val_int()
|
||||
{
|
||||
String *res= args[0]->val_str(&value);
|
||||
if (!res)
|
||||
{
|
||||
null_value=1;
|
||||
return 0; /* purecov: inspected */
|
||||
}
|
||||
null_value=0;
|
||||
return uint4korr(res->c_ptr());
|
||||
}
|
||||
|
||||
#endif /* HAVE_COMPRESS */
|
||||
|
||||
longlong Item_func_length::val_int()
|
||||
{
|
||||
|
|
|
@ -559,6 +559,15 @@ public:
|
|||
const char *func_name() const { return "crc32"; }
|
||||
void fix_length_and_dec() { max_length=10; }
|
||||
};
|
||||
class Item_func_uncompressed_length : public Item_int_func
|
||||
{
|
||||
String value;
|
||||
public:
|
||||
Item_func_uncompressed_length(Item *a):Item_int_func(a){}
|
||||
longlong val_int();
|
||||
const char *func_name() const{return "uncompressed_length";}
|
||||
void fix_length_and_dec() { max_length=10; }
|
||||
};
|
||||
#endif
|
||||
|
||||
class Item_func_length :public Item_int_func
|
||||
|
|
|
@ -2895,3 +2895,91 @@ String *Item_func_spatial_collection::val_str(String *str)
|
|||
ret:
|
||||
return null_value ? 0 : str;
|
||||
}
|
||||
|
||||
#ifdef HAVE_COMPRESS
|
||||
#include <zlib.h>
|
||||
|
||||
String *Item_func_compress::val_str(String *str)
|
||||
{
|
||||
String *res= args[0]->val_str(str);
|
||||
int err= Z_OK;
|
||||
int code;
|
||||
|
||||
/*
|
||||
citation from zlib.h (comment for compress function):
|
||||
|
||||
Compresses the source buffer into the destination buffer. sourceLen is
|
||||
the byte length of the source buffer. Upon entry, destLen is the total
|
||||
size of the destination buffer, which must be at least 0.1% larger than
|
||||
sourceLen plus 12 bytes.
|
||||
|
||||
Proportion 120/100 founded by Sinica with help of procedure
|
||||
compress(compress(compress(...)))
|
||||
I.e. zlib give number 'at least'..
|
||||
*/
|
||||
uLongf new_size= (uLongf)((res->length()*120)/100)+12;
|
||||
|
||||
buffer.realloc((uint32)new_size+sizeof(int32)+sizeof(char));
|
||||
|
||||
Byte *body= ((Byte*)buffer.c_ptr())+sizeof(int32);
|
||||
err= compress(body, &new_size,(const Bytef*)res->c_ptr(), res->length());
|
||||
|
||||
if (err != Z_OK)
|
||||
{
|
||||
code= err==Z_MEM_ERROR ? ER_ZLIB_Z_MEM_ERROR : ER_ZLIB_Z_BUF_ERROR;
|
||||
push_warning(current_thd,MYSQL_ERROR::WARN_LEVEL_ERROR,code,ER(code));
|
||||
null_value= 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int4store(buffer.c_ptr(),res->length());
|
||||
buffer.length((uint32)new_size+sizeof(int32));
|
||||
|
||||
/* This is for the stupid char fields which trimm ' ': */
|
||||
char *last_char= ((char*)body)+new_size-1;
|
||||
if (*last_char == ' ')
|
||||
{
|
||||
*++last_char= '.';
|
||||
new_size++;
|
||||
}
|
||||
|
||||
buffer.length((uint32)new_size+sizeof(int32));
|
||||
|
||||
return &buffer;
|
||||
}
|
||||
|
||||
String *Item_func_uncompress::val_str(String *str)
|
||||
{
|
||||
String *res= args[0]->val_str(str);
|
||||
uLongf new_size= uint4korr(res->c_ptr());
|
||||
int err= Z_OK;
|
||||
uint code;
|
||||
|
||||
if (new_size > MAX_BLOB_WIDTH)
|
||||
{
|
||||
push_warning_printf(current_thd,MYSQL_ERROR::WARN_LEVEL_ERROR,
|
||||
ER_TOO_BIG_FOR_UNCOMPRESS,
|
||||
ER(ER_TOO_BIG_FOR_UNCOMPRESS),MAX_BLOB_WIDTH);
|
||||
null_value= 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
buffer.realloc((uint32)new_size);
|
||||
|
||||
err= uncompress((Byte*)buffer.c_ptr(), &new_size,
|
||||
((const Bytef*)res->c_ptr())+sizeof(int32),res->length());
|
||||
|
||||
if (err == Z_OK)
|
||||
{
|
||||
buffer.length((uint32)new_size);
|
||||
return &buffer;
|
||||
}
|
||||
|
||||
code= err==Z_BUF_ERROR ? ER_ZLIB_Z_BUF_ERROR :
|
||||
err==Z_MEM_ERROR ? ER_ZLIB_Z_MEM_ERROR : ER_ZLIB_Z_DATA_ERROR;
|
||||
push_warning(current_thd,MYSQL_ERROR::WARN_LEVEL_ERROR,code,ER(code));
|
||||
null_value= 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -771,6 +771,29 @@ public:
|
|||
const char *func_name() const { return "multipoint"; }
|
||||
};
|
||||
|
||||
#ifdef HAVE_COMPRESS
|
||||
|
||||
class Item_func_compress : public Item_str_func
|
||||
{
|
||||
String buffer;
|
||||
public:
|
||||
Item_func_compress(Item *a):Item_str_func(a){}
|
||||
String *val_str(String *);
|
||||
void fix_length_and_dec(){max_length= (args[0]->max_length*120)/100+12;}
|
||||
const char *func_name() const{return "compress";}
|
||||
};
|
||||
|
||||
class Item_func_uncompress : public Item_str_func
|
||||
{
|
||||
String buffer;
|
||||
public:
|
||||
Item_func_uncompress(Item *a):Item_str_func(a){}
|
||||
String *val_str(String *);
|
||||
void fix_length_and_dec(){max_length= MAX_BLOB_WIDTH;}
|
||||
const char *func_name() const{return "uncompress";}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
class Item_func_multipoint :public Item_str_func
|
||||
|
|
|
@ -445,6 +445,9 @@ static SYMBOL sql_functions[] = {
|
|||
{ "CHARACTER_LENGTH", SYM(FUNC_ARG1),0,CREATE_FUNC(create_func_char_length)},
|
||||
{ "COALESCE", SYM(COALESCE),0,0},
|
||||
{ "COERCIBILITY", SYM(FUNC_ARG1),0,CREATE_FUNC(create_func_coercibility)},
|
||||
#ifdef HAVE_COMPRESS
|
||||
{ "COMPRESS", SYM(FUNC_ARG1),0,CREATE_FUNC(create_func_compress)},
|
||||
#endif
|
||||
{ "CONCAT", SYM(CONCAT),0,0},
|
||||
{ "CONCAT_WS", SYM(CONCAT_WS),0,0},
|
||||
{ "CONNECTION_ID", SYM(FUNC_ARG0),0,CREATE_FUNC(create_func_connection_id)},
|
||||
|
@ -599,6 +602,10 @@ static SYMBOL sql_functions[] = {
|
|||
{ "TOUCHES", SYM(FUNC_ARG2),0,CREATE_FUNC(create_func_touches)},
|
||||
{ "TRIM", SYM(TRIM),0,0},
|
||||
{ "UCASE", SYM(FUNC_ARG1),0,CREATE_FUNC(create_func_ucase)},
|
||||
#ifdef HAVE_COMPRESS
|
||||
{ "UNCOMPRESS", SYM(FUNC_ARG1),0,CREATE_FUNC(create_func_uncompress)},
|
||||
{ "UNCOMPRESSED_LENGTH", SYM(FUNC_ARG1),0,CREATE_FUNC(create_func_uncompressed_length)},
|
||||
#endif
|
||||
{ "UNIQUE_USERS", SYM(UNIQUE_USERS),0,0},
|
||||
{ "UNIX_TIMESTAMP", SYM(UNIX_TIMESTAMP),0,0},
|
||||
{ "UPPER", SYM(FUNC_ARG1),0,CREATE_FUNC(create_func_ucase)},
|
||||
|
|
|
@ -767,6 +767,7 @@ extern SHOW_COMP_OPTION have_isam, have_innodb, have_berkeley_db;
|
|||
extern SHOW_COMP_OPTION have_raid, have_openssl, have_symlink;
|
||||
extern SHOW_COMP_OPTION have_query_cache, have_berkeley_db, have_innodb;
|
||||
extern SHOW_COMP_OPTION have_crypt;
|
||||
extern SHOW_COMP_OPTION have_compress;
|
||||
|
||||
#ifndef __WIN__
|
||||
extern pthread_t signal_thread;
|
||||
|
|
|
@ -257,6 +257,11 @@ SHOW_COMP_OPTION have_crypt=SHOW_OPTION_YES;
|
|||
#else
|
||||
SHOW_COMP_OPTION have_crypt=SHOW_OPTION_NO;
|
||||
#endif
|
||||
#ifdef HAVE_COMPRESS
|
||||
SHOW_COMP_OPTION have_compress= SHOW_OPTION_YES;
|
||||
#else
|
||||
SHOW_COMP_OPTION have_compress= SHOW_OPTION_NO;
|
||||
#endif
|
||||
|
||||
const char *show_comp_option_name[]= {"YES", "NO", "DISABLED"};
|
||||
|
||||
|
|
|
@ -465,6 +465,7 @@ struct show_var_st init_vars[]= {
|
|||
{"ft_stopword_file", (char*) &ft_stopword_file, SHOW_CHAR_PTR},
|
||||
{"have_bdb", (char*) &have_berkeley_db, SHOW_HAVE},
|
||||
{"have_crypt", (char*) &have_crypt, SHOW_HAVE},
|
||||
{"have_compress", (char*) &have_compress, SHOW_HAVE},
|
||||
{"have_innodb", (char*) &have_innodb, SHOW_HAVE},
|
||||
{"have_isam", (char*) &have_isam, SHOW_HAVE},
|
||||
{"have_raid", (char*) &have_raid, SHOW_HAVE},
|
||||
|
|
|
@ -264,3 +264,7 @@ v/*
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -258,3 +258,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -266,3 +266,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -255,3 +255,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -260,3 +260,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -255,3 +255,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -265,3 +265,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -255,3 +255,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -257,3 +257,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -255,3 +255,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -257,3 +257,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -255,3 +255,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -257,3 +257,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -257,3 +257,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -259,3 +259,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -255,3 +255,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -259,3 +259,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -257,3 +257,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -251,3 +251,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -263,3 +263,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -256,3 +256,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -255,3 +255,7 @@
|
|||
"COLLATION '%s' är inte tillåtet för CHARACTER SET '%s'"
|
||||
"Slaven har redan startat"
|
||||
"Slaven har redan stoppat"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
|
@ -260,3 +260,7 @@
|
|||
"COLLATION '%s' is not valid for CHARACTER SET '%s'"
|
||||
"The slave was already running"
|
||||
"The slave was already stopped"
|
||||
"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)"
|
||||
"Z_BUF_ERROR: Not enough memory available for zlib"
|
||||
"Z_MEM_ERROR: Not enough room in the output buffer for zlib (probably, length of uncompressed data was corrupted)"
|
||||
"Z_DATA_ERROR: Input data was corrupted for zlib"
|
||||
|
|
Loading…
Reference in a new issue