~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/ident.cc

  • Committer: Stewart Smith
  • Date: 2011-03-29 01:30:47 UTC
  • mto: (2257.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: stewart@flamingspork.com-20110329013047-5ujzfx6pahmwuko2
have CachedDirectory print out a warning if we can't stat() something in a directory. We should always have access to at least stat() things in directories Drizzle is running in (otherwise there is likely a problem)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include "config.h"
 
20
#include <config.h>
21
21
#include <drizzled/show.h>
22
22
#include <drizzled/table.h>
23
 
#include <drizzled/current_session.h>
24
23
#include <drizzled/item/ident.h>
25
24
 
26
25
#include <cstdio>
108
107
}
109
108
 
110
109
 
111
 
void Item_ident::print(String *str,
112
 
                       enum_query_type)
 
110
void Item_ident::print(String *str)
113
111
{
114
112
  string d_name, t_name;
115
113
 
178
176
}
179
177
 
180
178
 
181
 
my_decimal *Item_ident_for_show::val_decimal(my_decimal *dec)
 
179
type::Decimal *Item_ident_for_show::val_decimal(type::Decimal *dec)
182
180
{
183
181
  return field->val_decimal(dec);
184
182
}