1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

compilation fixes

cmake/maintainer.cmake:
  don't do -Werror just yet
config.h.cmake:
  according to MSDN PSAPI_VERSION should be 1 in a portable application
mysys/my_thr_init.c:
  first, reset THR_KEY_mysys, and then free dbug data,
  because dbug data are automacially created on the next dbug call,
  unless THR_KEY_mysys is null.
This commit is contained in:
Sergei Golubchik
2011-11-27 17:50:08 +01:00
parent effed09bd7
commit dfc1901e80
6 changed files with 9 additions and 9 deletions

View File

@ -4620,7 +4620,7 @@ static void store_column_type(TABLE *table, Field *field, CHARSET_INFO *cs,
base_type [(dimension)] [unsigned] [zerofill].
For DATA_TYPE column we extract only base type.
*/
tmp_buff= strchr(column_type.ptr(), '(');
tmp_buff= strchr(column_type.c_ptr_safe(), '(');
if (!tmp_buff)
/*
if there is no dimention part then check the presence of