~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/sql_table.cc

  • Committer: Monty Taylor
  • Date: 2008-07-09 16:33:52 UTC
  • mto: (77.6.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 112.
  • Revision ID: monty@inaugust.com-20080709163352-yv7jbu81frc1l4ec
Finished the warnings work!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1689
1689
int prepare_create_field(Create_field *sql_field, 
1690
1690
                         uint *blob_columns,
1691
1691
                         int *timestamps, int *timestamps_with_niladic,
1692
 
                         longlong table_flags)
 
1692
                         longlong table_flags __attribute__((__unused__)))
1693
1693
{
1694
1694
  unsigned int dup_val_count;
1695
1695
 
2611
2611
        In this case the error is given
2612
2612
*/
2613
2613
 
2614
 
static bool prepare_blob_field(THD *thd, Create_field *sql_field)
 
2614
static bool prepare_blob_field(THD *thd __attribute__((__unused__)),
 
2615
                               Create_field *sql_field)
2615
2616
{
2616
2617
 
2617
2618
  if (sql_field->length > MAX_FIELD_VARCHARLENGTH &&
3847
3848
    0     ok
3848
3849
*/
3849
3850
 
3850
 
int reassign_keycache_tables(THD *thd, KEY_CACHE *src_cache,
3851
 
                             KEY_CACHE *dst_cache)
 
3851
int reassign_keycache_tables(THD *thd __attribute__((__unused__)),
 
3852
                             KEY_CACHE *src_cache,
 
3853
                             KEY_CACHE *dst_cache)
3852
3854
{
3853
3855
  assert(src_cache != dst_cache);
3854
3856
  assert(src_cache->in_init);
4931
4933
 
4932
4934
 err:
4933
4935
  if (error)
4934
 
  return(error);
 
4936
    return(error);
 
4937
  return 0;
4935
4938
}
4936
4939
 
4937
4940