mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Portability fixes
Docs/manual.texi: Update for Access 2000 extra/perror.c: Added --silent include/my_pthread.h: Patch for windows scripts/safe_mysqld.sh: Fix of bug in --patch sql/sql_lex.cc: Allow numbers of type 1e1 sql/sql_string.h: Safety fix sql/sql_table.cc: Portability fix BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
This commit is contained in:
@ -100,16 +100,16 @@ public:
|
||||
bool set(ulonglong num);
|
||||
bool set(double num,uint decimals=2);
|
||||
inline void free()
|
||||
{
|
||||
if (alloced)
|
||||
{
|
||||
if (alloced)
|
||||
{
|
||||
alloced=0;
|
||||
Alloced_length=0;
|
||||
my_free(Ptr,MYF(0));
|
||||
Ptr=0;
|
||||
}
|
||||
alloced=0;
|
||||
Alloced_length=0;
|
||||
my_free(Ptr,MYF(0));
|
||||
Ptr=0;
|
||||
str_length=0; /* Safety */
|
||||
}
|
||||
|
||||
}
|
||||
inline bool alloc(uint32 arg_length)
|
||||
{
|
||||
if (arg_length < Alloced_length)
|
||||
|
Reference in New Issue
Block a user