~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

Rename of handler to Cursor.  You would not believe how long I have wanted
to do that.

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
 * @brief
117
117
 *   Find subdirectories (schemas) in a given directory (datadir).
118
118
 *
119
 
 * @param[in]  session    Thread handler
 
119
 * @param[in]  session    Thread Cursor
120
120
 * @param[out] files      Put found entries in this list
121
121
 * @param[in]  path       Path to database
122
122
 * @param[in]  wild       Filter for found entries
442
442
  uint32_t primary_key;
443
443
  KEY *key_info;
444
444
  Table *table= table_list->table;
445
 
  handler *file= table->file;
 
445
  Cursor *file= table->file;
446
446
  TableShare *share= table->s;
447
447
  HA_CREATE_INFO create_info;
448
448
  bool show_table_options= false;
1022
1022
 
1023
1023
  SYNOPSIS
1024
1024
    schema_table_store_record()
1025
 
    session                   thread handler
 
1025
    session                   thread Cursor
1026
1026
    table                 Information schema table to be updated
1027
1027
 
1028
1028
  RETURN
1065
1065
           fill appropriate lookup_field_vals struct field
1066
1066
           with this value.
1067
1067
 
1068
 
  @param[in]      session                   thread handler
 
1068
  @param[in]      session                   thread Cursor
1069
1069
  @param[in]      item_func             part of WHERE condition
1070
1070
  @param[in]      table                 I_S table
1071
1071
  @param[in, out] lookup_field_vals     Struct which holds lookup values
1147
1147
           from 'WHERE' condition if it's possible and
1148
1148
           fill lookup_field_vals struct fields with these values.
1149
1149
 
1150
 
  @param[in]      session                   thread handler
 
1150
  @param[in]      session                   thread Cursor
1151
1151
  @param[in]      cond                  WHERE condition
1152
1152
  @param[in]      table                 I_S table
1153
1153
  @param[in, out] lookup_field_vals     Struct which holds lookup values
1295
1295
           from LEX struct and fill lookup_field_vals struct field
1296
1296
           with these values.
1297
1297
 
1298
 
  @param[in]      session                   thread handler
 
1298
  @param[in]      session                   thread Cursor
1299
1299
  @param[in]      cond                  WHERE condition
1300
1300
  @param[in]      tables                I_S table
1301
1301
  @param[in, out] lookup_field_values   Struct which holds lookup values
1357
1357
 * @brief
1358
1358
 *   Create db names list. Information schema name always is first in list
1359
1359
 *
1360
 
 * @param[in]  session          Thread handler
 
1360
 * @param[in]  session          Thread Cursor
1361
1361
 * @param[out] files            List of db names
1362
1362
 * @param[in]  wild             Wild string
1363
1363
 * @param[in]  idx_field_vals   idx_field_vals->db_name contains db name or
1446
1446
  @details        The function creates the list of table names in
1447
1447
                  database
1448
1448
 
1449
 
  @param[in]      session                   thread handler
 
1449
  @param[in]      session                   thread Cursor
1450
1450
  @param[in]      table_names           List of table names in database
1451
1451
  @param[in]      lex                   pointer to LEX struct
1452
1452
  @param[in]      lookup_field_vals     pointer to LOOKUP_FIELD_VALUE struct
1531
1531
/**
1532
1532
  @brief          Fill I_S table for SHOW COLUMNS|INDEX commands
1533
1533
 
1534
 
  @param[in]      session                      thread handler
 
1534
  @param[in]      session                      thread Cursor
1535
1535
  @param[in]      tables                   TableList for I_S table
1536
1536
  @param[in]      schema_table             pointer to I_S structure
1537
1537
  @param[in]      open_tables_state_backup pointer to Open_tables_state object
1606
1606
/**
1607
1607
  @brief          Fill I_S table for SHOW Table NAMES commands
1608
1608
 
1609
 
  @param[in]      session                      thread handler
 
1609
  @param[in]      session                      thread Cursor
1610
1610
  @param[in]      table                    Table struct for I_S table
1611
1611
  @param[in]      db_name                  database name
1612
1612
  @param[in]      table_name               table name
1688
1688
/**
1689
1689
  @brief          Fill I_S table with data from FRM file only
1690
1690
 
1691
 
  @param[in]      session                      thread handler
 
1691
  @param[in]      session                      thread Cursor
1692
1692
  @param[in]      table                    Table struct for I_S table
1693
1693
  @param[in]      schema_table             I_S table struct
1694
1694
  @param[in]      db_name                  database name
1758
1758
                  from frm files and storage engine are filled by the function
1759
1759
                  plugin::InfoSchemaMethods::fillTable().
1760
1760
 
1761
 
  @param[in]      session                      thread handler
 
1761
  @param[in]      session                      thread Cursor
1762
1762
  @param[in]      tables                   I_S table
1763
1763
  @param[in]      cond                     'WHERE' condition
1764
1764
 
2319
2319
 
2320
2320
  SYNOPSIS
2321
2321
    plugin::InfoSchemaMethods::oldFormat()
2322
 
    session                     thread handler
 
2322
    session                     thread Cursor
2323
2323
    schema_table        pointer to 'schema_tables' element
2324
2324
 
2325
2325
  RETURN
2362
2362
 
2363
2363
  SYNOPSIS
2364
2364
  mysql_schema_table()
2365
 
    session                thread handler
 
2365
    session                thread Cursor
2366
2366
    lex                pointer to LEX
2367
2367
    table_list         pointer to table_list
2368
2368
 
2403
2403
 
2404
2404
  SYNOPSIS
2405
2405
    make_schema_select()
2406
 
    session                  thread handler
 
2406
    session                  thread Cursor
2407
2407
    sel                  pointer to Select_Lex
2408
2408
    schema_table_name    name of 'schema_tables' element
2409
2409