~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Olaf van der Spek
  • Date: 2011-08-14 12:50:58 UTC
  • mto: This revision was merged to the branch mainline in revision 2407.
  • Revision ID: olafvdspek@gmail.com-20110814125058-ok57zo2mixy9mpuy
Remove unused Session::query_cache_key var

Show diffs side-by-side

added added

removed removed

Lines of Context:
254
254
  originating_commit_id= 0;
255
255
  cleanup_done= abort_on_warning= no_warnings_for_error= false;
256
256
 
257
 
  /* query_cache init */
258
 
  query_cache_key= "";
259
257
  resultset= NULL;
260
258
 
261
259
  /* Variables with default values */
1064
1062
  /* Check if there is any blobs in data */
1065
1063
  {
1066
1064
    List<Item>::iterator li(list.begin());
1067
 
    Item *item;
1068
 
    while ((item=li++))
 
1065
    while (Item* item= li++)
1069
1066
    {
1070
1067
      if (item->max_length >= MAX_BLOB_WIDTH)
1071
1068
      {
1496
1493
{
1497
1494
  /* Cleanup SQL processing state to reuse this statement in next query. */
1498
1495
  lex().end();
1499
 
  query_cache_key= ""; // reset the cache key
1500
1496
  resetResultsetMessage();
1501
1497
}
1502
1498
 
1525
1521
  precomputed_group_by= 0;
1526
1522
}
1527
1523
 
1528
 
void Tmp_Table_Param::cleanup(void)
 
1524
void Tmp_Table_Param::cleanup()
1529
1525
{
1530
1526
  /* Fix for Intel compiler */
1531
1527
  if (copy_field)