~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/csv/ha_tina.cc

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
  char meta_file_name[FN_REFLEN];
133
133
  struct stat file_stat;
134
134
  char *tmp_name;
135
 
  uint length;
 
135
  uint32_t length;
136
136
 
137
137
  pthread_mutex_lock(&tina_mutex);
138
138
  length=(uint) strlen(table_name);
668
668
      {
669
669
        Field_blob *blob= *(Field_blob**) field;
670
670
        unsigned char *src, *tgt;
671
 
        uint length, packlength;
 
671
        uint32_t length, packlength;
672
672
        
673
673
        packlength= blob->pack_length_no_ptr();
674
674
        length= blob->get_length(blob->ptr);
780
780
  that need to be reset should be kept in the ::extra() call.
781
781
*/
782
782
int ha_tina::open(const char *name, int mode __attribute__((unused)),
783
 
                  uint open_options)
 
783
                  uint32_t open_options)
784
784
{
785
785
  if (!(share= get_share(name, table)))
786
786
    return(HA_ERR_OUT_OF_MEM);
1097
1097
  Currently this table handler doesn't implement most of the fields
1098
1098
  really needed. SHOW also makes use of this data
1099
1099
*/
1100
 
int ha_tina::info(uint flag __attribute__((unused)))
 
1100
int ha_tina::info(uint32_t flag __attribute__((unused)))
1101
1101
{
1102
1102
  /* This is a lie, but you don't want the optimizer to see zero or 1 */
1103
1103
  if (!records_is_known && stats.records < 2) 
1518
1518
 
1519
1519
 
1520
1520
bool ha_tina::check_if_incompatible_data(HA_CREATE_INFO *info __attribute__((unused)),
1521
 
                                         uint table_changes __attribute__((unused)))
 
1521
                                         uint32_t table_changes __attribute__((unused)))
1522
1522
{
1523
1523
  return COMPATIBLE_DATA_YES;
1524
1524
}