~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cursor.cc

  • Committer: Jay Pipes
  • Date: 2010-04-20 18:33:21 UTC
  • mto: This revision was merged to the branch mainline in revision 1501.
  • Revision ID: jpipes@serialcoder-20100420183321-v1glb8qm3l88gv1j
Cursor::update_row() changed to doUpdateRecord() and updateRecord()

Show diffs side-by-side

added added

removed removed

Lines of Context:
1515
1515
}
1516
1516
 
1517
1517
 
1518
 
int Cursor::ha_update_row(const unsigned char *old_data, unsigned char *new_data)
 
1518
int Cursor::updateRecord(const unsigned char *old_data, unsigned char *new_data)
1519
1519
{
1520
1520
  int error;
1521
1521
 
1527
1527
 
1528
1528
  DRIZZLE_UPDATE_ROW_START(table_share->getSchemaName(), table_share->getTableName());
1529
1529
  setTransactionReadWrite();
1530
 
  error= update_row(old_data, new_data);
 
1530
  error= doUpdateRecord(old_data, new_data);
1531
1531
  DRIZZLE_UPDATE_ROW_DONE(error);
1532
1532
 
1533
1533
  if (unlikely(error))