~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_db.cc

  • Committer: Brian Aker
  • Date: 2008-08-11 17:10:04 UTC
  • Revision ID: brian@tangent.org-20080811171004-hpm35egbyuriufm1
ulongĀ conversion

Show diffs side-by-side

added added

removed removed

Lines of Context:
339
339
 
340
340
  if ((file=my_create(path, CREATE_MODE,O_RDWR | O_TRUNC,MYF(MY_WME))) >= 0)
341
341
  {
342
 
    ulong length;
343
 
    length= (ulong) (strxnmov(buf, sizeof(buf)-1, "default-character-set=",
 
342
    uint32_t length;
 
343
    length= (uint32_t) (strxnmov(buf, sizeof(buf)-1, "default-character-set=",
344
344
                              create->default_table_charset->csname,
345
345
                              "\ndefault-collation=",
346
346
                              create->default_table_charset->name,
872
872
  if (!silent && deleted>=0)
873
873
  {
874
874
    const char *query;
875
 
    ulong query_length;
 
875
    uint32_t query_length;
876
876
    if (!thd->query)
877
877
    {
878
878
      /* The client used the old obsolete mysql_drop_db() call */
903
903
    }
904
904
    thd->clear_error();
905
905
    thd->server_status|= SERVER_STATUS_DB_DROPPED;
906
 
    my_ok(thd, (ulong) deleted);
 
906
    my_ok(thd, (uint32_t) deleted);
907
907
    thd->server_status&= ~SERVER_STATUS_DB_DROPPED;
908
908
  }
909
909
  else if (mysql_bin_log.is_open())
969
969
                                 TABLE_LIST **dropped_tables)
970
970
{
971
971
  long deleted=0;
972
 
  ulong found_other_files=0;
 
972
  uint32_t found_other_files=0;
973
973
  char filePath[FN_REFLEN];
974
974
  TABLE_LIST *tot_list=0, **tot_list_next;
975
975