~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/replication_services.h

  • Committer: Jay Pipes
  • Date: 2009-12-11 21:21:33 UTC
  • mto: This revision was merged to the branch mainline in revision 1245.
  • Revision ID: jpipes@serialcoder-20091211212133-w5kiiz973mi5rhlx
Adds error for when a record is inserted into a table containing
no primary key and replication is enabled.  Adds a test case
verifying the error is thrown when an insert is attempted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
294
294
   *
295
295
   * @param Pointer to the Session which has inserted a record
296
296
   * @param Pointer to the Table containing insert information
 
297
   *
 
298
   * Grr, returning "true" here on error because of the cursor
 
299
   * reversed bool return crap...fix that.
297
300
   */
298
 
  void insertRecord(Session *in_session, Table *in_table);
 
301
  bool insertRecord(Session *in_session, Table *in_table);
299
302
  /**
300
303
   * Creates a new UpdateRecord GPB message and pushes it to
301
304
   * replicators.