~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Brian Aker
  • Date: 2009-02-21 00:18:15 UTC
  • Revision ID: brian@tangent.org-20090221001815-x20e8h71e984lvs1
Completion (?) of uint conversion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1370
1370
  bool blob_flag=0;
1371
1371
  bool string_results= false, non_string_results= false;
1372
1372
  unit= u;
1373
 
  if ((uint) strlen(exchange->file_name) + NAME_LEN >= FN_REFLEN)
 
1373
  if ((uint32_t) strlen(exchange->file_name) + NAME_LEN >= FN_REFLEN)
1374
1374
    strncpy(path,exchange->file_name,FN_REFLEN-1);
1375
1375
 
1376
1376
  /* Check if there is any blobs in data */
1565
1565
                          is_ambiguous_field_sep) ?
1566
1566
                          field_sep_char : escape_char;
1567
1567
            tmp_buff[1]= *pos ? *pos : '0';
1568
 
            if (my_b_write(&cache,(unsigned char*) start,(uint) (pos-start)) ||
 
1568
            if (my_b_write(&cache,(unsigned char*) start,(uint32_t) (pos-start)) ||
1569
1569
                my_b_write(&cache,(unsigned char*) tmp_buff,2))
1570
1570
              goto err;
1571
1571
            start=pos+1;
1572
1572
          }
1573
1573
        }
1574
 
        if (my_b_write(&cache,(unsigned char*) start,(uint) (pos-start)))
 
1574
        if (my_b_write(&cache,(unsigned char*) start,(uint32_t) (pos-start)))
1575
1575
          goto err;
1576
1576
      }
1577
1577
      else if (my_b_write(&cache,(unsigned char*) res->ptr(),used_length))