~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/statement_transform.h

Separated BlitzCursor code out to it's own file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
436
436
 
437
437
/**
438
438
 * Appends to the supplied string an SQL expression
439
 
 * representing the foreign key attributes.  The built string
440
 
 * corresponds to the SQL in a CREATE TABLE statement.
441
 
 *
442
 
 * @param[in]   Foreign Key Constraint message
443
 
 * @param[in]   Table containing this foregin key (used to get field names...)
444
 
 * @param[out]  String to append to
445
 
 *
446
 
 * @retval
447
 
 *  NONE if successful transformation
448
 
 * @retval
449
 
 *  Error code (see enum TransformSqlError definition) if failure
450
 
 */
451
 
enum TransformSqlError
452
 
transformForeignKeyConstraintDefinitionToSql(const Table::ForeignKeyConstraint &fkey,
453
 
                                             const Table &table,
454
 
                                             std::string &destination,
455
 
                                             enum TransformSqlVariant sql_variant = DRIZZLE);
456
 
 
457
 
/**
458
 
 * Appends to the supplied string an SQL expression
459
439
 * representing the field's attributes.  The built string
460
440
 * corresponds to the SQL in a CREATE TABLE statement.
461
441
 *