This commit is contained in:
serg@serg.mylan 2005-03-09 14:09:06 +01:00
commit 956682de1a
107 changed files with 13771 additions and 239 deletions

View file

@ -606,7 +606,7 @@ mem_strdupq(
char* dst;
char* d;
const char* s = str;
int len = strlen(str) + 3;
size_t len = strlen(str) + 3;
/* calculate the number of quote characters in the string */
while((s = strchr(s, q)) != NULL) {
s++;

View file

@ -549,10 +549,10 @@ page_rec_get_next(
"InnoDB: Next record offset is nonsensical %lu in record at offset %lu\n",
(ulong)offs, (ulong)(rec - page));
fprintf(stderr,
"\nInnoDB: rec address %lx, first buffer frame %lx\n"
"InnoDB: buffer pool high end %lx, buf fix count %lu\n",
(ulong)rec, (ulong)buf_pool->frame_zero,
(ulong)buf_pool->high_end,
"\nInnoDB: rec address %p, first buffer frame %p\n"
"InnoDB: buffer pool high end %p, buf fix count %lu\n",
rec, buf_pool->frame_zero,
buf_pool->high_end,
(ulong)buf_block_align(rec)->buf_fix_count);
buf_page_print(page);

View file

@ -414,7 +414,7 @@ pars_complete_graph_for_exec(
/* Struct used to denote a reserved word in a parsing tree */
struct pars_res_word_struct{
ulint code; /* the token code for the reserved word from
int code; /* the token code for the reserved word from
pars0grm.h */
};

View file

@ -152,7 +152,7 @@ struct sym_tab_struct{
parser */
const char* sql_string;
/* SQL string to parse */
int string_len;
size_t string_len;
/* SQL string length */
int next_char_pos;
/* position of the next character in