Remove the use of mem_realloc in fil0fil.c; mem_realloc() was broken and the patch to remove its definition will propagate from the 4.0 tree; crash recovery with innodb_file_per_table has to be tested after this patch, not tested yet
innobase/fil/fil0fil.c:
Remove the use of mem_realloc in fil0fil.c; mem_alloc() was broken and the patch to remove its definition will propagate from the 4.0 tree; crash recovery with innodb_file_per_table has to be tested after this patch, not tested yet
Implement ut_realloc
lexyy.c, pars0lex.l:
Start using ut_malloc, ut_free, ut_realloc in pars0lex.l and lexyy.c; mem_realloc was broken; eliminate possible memcpy(NULL, ..., 0) from string_append()
innobase/pars/pars0lex.l:
Start using ut_malloc, ut_free, ut_realloc in pars0lex.l and lexyy.c; mem_realloc was broken; eliminate possible memcpy(NULL, ..., 0) from string_append()
innobase/pars/lexyy.c:
Start using ut_malloc, ut_free, ut_realloc in pars0lex.l and lexyy.c; mem_realloc was broken; eliminate possible memcpy(NULL, ..., 0) from string_append()
innobase/ut/ut0mem.c:
Implement ut_realloc
innobase/include/ut0mem.h:
Implement ut_realloc
include/mysql.h:
mysql_bind_param -> mysql_stmt_bind_param
libmysql/libmysql.c:
- more comments
- trailing spaces stripped
- update_statement_metadata moved to appropriate section (from 'Statement
close and error reporting' section)
- store_param_type moved to store_ functions
Remove broken mem_realloc(); a patch to remove its uses in pars0lex.l and fil0fil.c will soon follow
innobase/include/mem0mem.h:
Remove broken mem_realloc(); a patch to remove its uses in pars0lex.l and fil0fil.c will soon follow
innobase/include/mem0mem.ic:
Remove broken mem_realloc(); a patch to remove its uses in pars0lex.l and fil0fil.c will soon follow
- mutex was unlocked before the end of the critical sesion,
- Portability issue: It's better to use (*alloc)(x) instead of alloc(x),
if alloc is a function passed as an argument.
- Use {} around if() block, to avoid possible problems with some Windows compilers.
mysql-test/r/subselect.result:
new length in UNION
mysql-test/r/union.result:
new length in UNION
test of int with wrong display length
mysql-test/t/union.test:
test of int with wrong display length
sql/item.cc:
new length detection for non-string
sql/item.h:
new length detection for non-string
enabled
Build-tools/Do-compile:
- removed redundant option "--without-ndbcluster" (we already have
"--with-cluster" for that)
- make sure to add the cluster files in the binary distribution
- make sure to run mysql-test-run with NDB tests enabled
* added 'local $/' to keep from undef-ing $/ (the newline setting) for the whole script
* removed the target dir removal (target dir is not a temp dir!)
* use split to create filelist (cleaner way than using chomp!)
* removed use of chomp because it caused some file names to be mangled
* print out which file is being processed if verbose
mysql-copyright-2:
* added cpp to list of files to be processed (for windows archives)
Build-tools/mysql-copyright-2:
* added cpp to list of files to be processed (for windows archives)
Build-tools/mysql-copyright:
* added 'local $/' to keep from undef-ing $/ (the newline setting) for the whole script
* removed the target dir removal (target dir is not a temp dir!)
* use split to create filelist (cleaner way than using chomp!)
* removed use of chomp because it caused some file names to be mangled
* print out which file is being processed if verbose
Return the code of row_ins_foreign_check_on_constraint() as close to 4.0 as possible, except that we use mem_strdup() to allocate the memory for the modified table name
innobase/row/row0ins.c:
Return the code of row_ins_foreign_check_on_constraint() as close to 4.0 as possible, except that we use mem_strdup() to allocate the memory for the modified table name
introduced in ChangeSet@1.1843.1.25
InnoDB: fix bug in the error exit of
fil_create_new_single_table_tablespace(), introduced in
ChangeSet@1.1843.1.11
innobase/row/row0ins.c:
row_ins_foreign_check_on_constraint():
the string passed to innobase_invalidate_query_cache() was truncated;
now it is passed correctly again
innobase/fil/fil0fil.c:
fil_create_new_single_table_tablespace():
delete the file if fil_space_create() fails