~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/trx/trx0i_s.cc

  • Committer: Monty Taylor
  • Date: 2010-12-26 21:16:41 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101226211641-29i25ic2eqwo91ef
More casting

Show diffs side-by-side

added added

removed removed

Lines of Context:
523
523
                memcpy(query, stmt, stmt_len);
524
524
                query[stmt_len] = '\0';
525
525
 
526
 
                row->trx_query = ha_storage_put_memlim(
 
526
                row->trx_query = static_cast<const char *>(ha_storage_put_memlim(
527
527
                        cache->storage, stmt, stmt_len + 1,
528
 
                        MAX_ALLOWED_FOR_STORAGE(cache));
 
528
                        MAX_ALLOWED_FOR_STORAGE(cache)));
529
529
 
530
530
                if (row->trx_query == NULL) {
531
531