~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

  • Committer: Brian Aker
  • Date: 2009-07-09 19:49:32 UTC
  • mfrom: (1085.1.10 mordred)
  • Revision ID: brian@gaz-20090709194932-o90qfzgk9xem5di1
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1362
1362
}
1363
1363
 
1364
1364
 
1365
 
int make_table_list(Session *session, Select_Lex *sel,
1366
 
                    LEX_STRING *db_name, LEX_STRING *table_name)
 
1365
static int make_table_list(Session *session, Select_Lex *sel,
 
1366
                           LEX_STRING *db_name, LEX_STRING *table_name)
1367
1367
{
1368
1368
  Table_ident *table_ident;
1369
1369
  table_ident= new Table_ident(session, *db_name, *table_name, 1);
1392
1392
    1             error, there can be no matching records for the condition
1393
1393
*/
1394
1394
 
1395
 
bool get_lookup_value(Session *session, Item_func *item_func,
1396
 
                      TableList *table,
1397
 
                      LOOKUP_FIELD_VALUES *lookup_field_vals)
 
1395
static bool get_lookup_value(Session *session, Item_func *item_func,
 
1396
                             TableList *table,
 
1397
                             LOOKUP_FIELD_VALUES *lookup_field_vals)
1398
1398
{
1399
1399
  InfoSchemaTable *schema_table= table->schema_table;
1400
1400
  const char *field_name1= schema_table->getFirstColumnIndex() >= 0 ?
1509
1509
}
1510
1510
 
1511
1511
 
1512
 
bool uses_only_table_name_fields(Item *item, TableList *table)
 
1512
static bool uses_only_table_name_fields(Item *item, TableList *table)
1513
1513
{
1514
1514
  if (item->type() == Item::FUNC_ITEM)
1515
1515
  {
1771
1771
};
1772
1772
 
1773
1773
 
1774
 
int schema_tables_add(Session *session, vector<LEX_STRING*> &files, const char *wild)
 
1774
static int schema_tables_add(Session *session, vector<LEX_STRING*> &files, const char *wild)
1775
1775
{
1776
1776
  InfoSchemaTable *tmp_schema_table= schema_tables;
1777
1777
 
2359
2359
  @return         void
2360
2360
*/
2361
2361
 
2362
 
void store_column_type(Table *table, Field *field, const CHARSET_INFO * const cs,
2363
 
                       uint32_t offset)
 
2362
static void store_column_type(Table *table, Field *field,
 
2363
                              const CHARSET_INFO * const cs,
 
2364
                              uint32_t offset)
2364
2365
{
2365
2366
  bool is_blob;
2366
2367
  int decimals, field_length;