~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzleslap.cc

MergedĀ fromĀ Toru.

Show diffs side-by-side

added added

removed removed

Lines of Context:
903
903
                                  MYF(MY_ZEROFILL|MY_FAE|MY_WME));
904
904
  ptr->length= table_string.length()+1;
905
905
  ptr->type= CREATE_TABLE_TYPE;
906
 
  my_stpcpy(ptr->string, table_string.c_str());
 
906
  strcpy(ptr->string, table_string.c_str());
907
907
  return(ptr);
908
908
}
909
909
 
973
973
    ptr->type= UPDATE_TYPE_REQUIRES_PREFIX ;
974
974
  else
975
975
    ptr->type= UPDATE_TYPE;
976
 
  my_stpcpy(ptr->string, update_string.c_str());
 
976
  strcpy(ptr->string, update_string.c_str());
977
977
  return(ptr);
978
978
}
979
979
 
1110
1110
  }
1111
1111
  ptr->length= insert_string.length()+1;
1112
1112
  ptr->type= INSERT_TYPE;
1113
 
  my_stpcpy(ptr->string, insert_string.c_str());
 
1113
  strcpy(ptr->string, insert_string.c_str());
1114
1114
  return(ptr);
1115
1115
}
1116
1116
 
1196
1196
    ptr->type= SELECT_TYPE_REQUIRES_PREFIX;
1197
1197
  else
1198
1198
    ptr->type= SELECT_TYPE;
1199
 
  my_stpcpy(ptr->string, query_string.c_str());
 
1199
  strcpy(ptr->string, query_string.c_str());
1200
1200
  return(ptr);
1201
1201
}
1202
1202