~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump.c

  • Committer: Monty Taylor
  • Date: 2008-07-15 19:05:24 UTC
  • mfrom: (77.1.109 codestyle)
  • mto: This revision was merged to the branch mainline in revision 176.
  • Revision ID: monty@inaugust.com-20080715190524-nc4uahsj82181zpp
Merged fro mcodestyle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1411
1411
{
1412
1412
  uint i;
1413
1413
  MYSQL_FIELD *field;
1414
 
  ulong *lengths= mysql_fetch_lengths(tableRes);
 
1414
  uint32_t *lengths= mysql_fetch_lengths(tableRes);
1415
1415
 
1416
1416
  fprintf(xml_file, "\t\t<%s", row_name);
1417
1417
  check_io(xml_file);
1785
1785
 
1786
1786
    while ((row= mysql_fetch_row(result)))
1787
1787
    {
1788
 
      ulong *lengths= mysql_fetch_lengths(result);
 
1788
      uint32_t *lengths= mysql_fetch_lengths(result);
1789
1789
      if (init)
1790
1790
      {
1791
1791
        if (!opt_xml && !opt_no_create_info)
2269
2269
    while ((row= mysql_fetch_row(res)))
2270
2270
    {
2271
2271
      uint i;
2272
 
      ulong *lengths= mysql_fetch_lengths(res);
 
2272
      uint32_t *lengths= mysql_fetch_lengths(res);
2273
2273
      rownr++;
2274
2274
      if (!extended_insert && !opt_xml)
2275
2275
      {
2779
2779
    uint64_t num_rows= mysql_num_rows(table_res);
2780
2780
    if (num_rows > 0)
2781
2781
    {
2782
 
      ulong *lengths;
 
2782
      uint32_t *lengths;
2783
2783
      /*
2784
2784
        Return first row
2785
2785
        TODO: Return all matching rows