~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Brian Aker
  • Date: 2009-02-05 09:40:42 UTC
  • Revision ID: brian@tangent.org-20090205094042-e51fvbgbb8ppt2m8
Fixed session call from function to method.

Show diffs side-by-side

added added

removed removed

Lines of Context:
362
362
 
363
363
  if (error)
364
364
    return(true);
365
 
  my_ok(session);
 
365
  session->my_ok();
366
366
  return(false);
367
367
}
368
368
 
2756
2756
      goto err;
2757
2757
  }
2758
2758
 
2759
 
  my_eof(session);
 
2759
  session->my_eof();
2760
2760
  return(false);
2761
2761
 
2762
2762
err:
3201
3201
 
3202
3202
  if (error == 0)
3203
3203
  {
3204
 
    my_ok(session);
 
3204
    session->my_ok();
3205
3205
    return(0);
3206
3206
  }
3207
3207
 
4634
4634
    if (!error)
4635
4635
    {
4636
4636
      write_bin_log(session, true, session->query, session->query_length);
4637
 
      my_ok(session);
 
4637
      session->my_ok();
4638
4638
  }
4639
4639
    else if (error > 0)
4640
4640
  {
5027
5027
  snprintf(tmp_name, sizeof(tmp_name), ER(ER_INSERT_INFO),
5028
5028
           (ulong) (copied + deleted), (ulong) deleted,
5029
5029
           (ulong) session->cuted_fields);
5030
 
  my_ok(session, copied + deleted, 0L, tmp_name);
 
5030
  session->my_ok(copied + deleted, 0L, tmp_name);
5031
5031
  session->some_tables_deleted=0;
5032
5032
  return(false);
5033
5033
 
5445
5445
      goto err;
5446
5446
  }
5447
5447
 
5448
 
  my_eof(session);
 
5448
  session->my_eof();
5449
5449
  return(false);
5450
5450
 
5451
5451
 err: