~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzleslap.cc

  • Committer: Brian Aker
  • Date: 2008-09-28 03:20:53 UTC
  • mto: This revision was merged to the branch mainline in revision 413.
  • Revision ID: brian@tangent.org-20080928032053-rclc4iiwmwedsf73
Work on removing GNU specific calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
896
896
                                  MYF(MY_ZEROFILL|MY_FAE|MY_WME));
897
897
  ptr->length= table_string.length()+1;
898
898
  ptr->type= CREATE_TABLE_TYPE;
899
 
  stpcpy(ptr->string, table_string.c_str());
 
899
  my_stpcpy(ptr->string, table_string.c_str());
900
900
  return(ptr);
901
901
}
902
902
 
966
966
    ptr->type= UPDATE_TYPE_REQUIRES_PREFIX ;
967
967
  else
968
968
    ptr->type= UPDATE_TYPE;
969
 
  stpcpy(ptr->string, update_string.c_str());
 
969
  my_stpcpy(ptr->string, update_string.c_str());
970
970
  return(ptr);
971
971
}
972
972
 
1103
1103
  }
1104
1104
  ptr->length= insert_string.length()+1;
1105
1105
  ptr->type= INSERT_TYPE;
1106
 
  stpcpy(ptr->string, insert_string.c_str());
 
1106
  my_stpcpy(ptr->string, insert_string.c_str());
1107
1107
  return(ptr);
1108
1108
}
1109
1109
 
1189
1189
    ptr->type= SELECT_TYPE_REQUIRES_PREFIX;
1190
1190
  else
1191
1191
    ptr->type= SELECT_TYPE;
1192
 
  stpcpy(ptr->string, query_string.c_str());
 
1192
  my_stpcpy(ptr->string, query_string.c_str());
1193
1193
  return(ptr);
1194
1194
}
1195
1195