~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/statement_transform.h

  • Committer: Brian Aker
  • Date: 2010-11-08 18:24:58 UTC
  • mto: (1921.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1916.
  • Revision ID: brian@tangent.org-20101108182458-twv4hyix43ojno80
Merge in changes such that lock is now broken out into its own directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
390
390
transformTableDefinitionToSql(const Table &table,
391
391
                              std::string &destination,
392
392
                              enum TransformSqlVariant sql_variant= DRIZZLE,
393
 
                              bool with_schema= false);
 
393
                              bool with_schema= true);
394
394
 
395
395
/**
396
396
 * Appends to the supplied string an SQL expression
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
439
459
 * representing the field's attributes.  The built string
440
460
 * corresponds to the SQL in a CREATE TABLE statement.
441
461
 *