~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Brian Aker
  • Date: 2009-05-14 16:46:36 UTC
  • mto: This revision was merged to the branch mainline in revision 1016.
  • Revision ID: brian@gaz-20090514164636-ipl0u2inw8nr7ueb
Remove dead session calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3160
3160
    new_created field
3161
3161
*/
3162
3162
 
3163
 
Field *create_tmp_field_for_schema(Session *, Item *item, Table *table)
 
3163
Field *create_tmp_field_for_schema(Item *item, Table *table)
3164
3164
{
3165
3165
  if (item->field_type() == DRIZZLE_TYPE_VARCHAR)
3166
3166
  {
3459
3459
        that in the later case group is set to the row pointer.
3460
3460
      */
3461
3461
      Field *new_field= (param->schema_table) ?
3462
 
        create_tmp_field_for_schema(session, item, table) :
 
3462
        create_tmp_field_for_schema(item, table) :
3463
3463
        create_tmp_field(session, table, item, type, &copy_func,
3464
3464
                         tmp_from_field, &default_field[fieldnr],
3465
3465
                         group != 0,