~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/statement_transform.h

Added code necessary for building plugins dynamically.
Merged in changes from lifeless to allow autoreconf to work.
Touching plugin.ini files now triggers a rebuid - so config/autorun.sh is no
longer required to be run after touching those.
Removed the duplicate plugin names - also removed the issue that getting them
different would silently fail weirdly later.

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
transformInsertHeaderToSql(const InsertHeader &header,
155
155
                           std::string *destination,
156
156
                           enum TransformSqlVariant sql_variant= DRIZZLE);
157
 
/**
158
 
 * This function looks at a supplied UpdateHeader
159
 
 * and UpdateData message and constructs a correctly-formatted SQL
160
 
 * statement to the supplied destination string.
161
 
 *
162
 
 * @note
163
 
 *
164
 
 * This function constructs a <strong>single SQL statement</strong>
165
 
 * that contains all the update keys represented in all records in 
166
 
 * the UpdateData message.
167
 
 *
168
 
 * @param UpdateHeader message to transform
169
 
 * @param UpdateData message to transform
170
 
 * @param Destination string to append SQL to
171
 
 * @param Variation of SQL to generate
172
 
 *
173
 
 * @retval
174
 
 *  NONE if successful transformation
175
 
 * @retval
176
 
 *  Error code (see enum TransformSqlError definition) if failure
177
 
 */
178
 
enum TransformSqlError
179
 
transformUpdateStatementToSql(const UpdateHeader &header,
180
 
                              const UpdateData &data,
181
 
                              std::string *destination,
182
 
                              enum TransformSqlVariant sql_variant= DRIZZLE);
183
157
 
184
158
/**
185
159
 * Helper function to construct the header portion of an UPDATE