1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

Removed some old Makefiles to avoid name conflict on Mac OS X

Changed in client library character-set-dir -> character-sets-dir
This commit is contained in:
monty@tik.mysql.fi
2002-04-22 23:36:34 +03:00
parent c987b8bab8
commit e015f631fd
4 changed files with 12 additions and 17 deletions

View File

@@ -40,19 +40,16 @@ extern void sql_element_free(void *ptr);
bool String::real_alloc(uint32 arg_length)
{
arg_length=ALIGN_SIZE(arg_length+1);
str_length=0;
if (Alloced_length < arg_length)
{
free();
if (!(Ptr=(char*) my_malloc(arg_length,MYF(MY_WME))))
{
str_length=0;
return TRUE;
}
Alloced_length=arg_length;
alloced=1;
}
Ptr[0]=0;
str_length=0;
return FALSE;
}