~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/mysql_priv.h

  • Committer: Brian Aker
  • Date: 2008-07-13 22:21:51 UTC
  • Revision ID: brian@tangent.org-20080713222151-fv2tcpbsc829j2oc
Ulonglong to uint64_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
};
65
65
 
66
66
/* TODO convert all these three maps to Bitmap classes */
67
 
typedef ulonglong table_map;          /* Used for table bits in join */
 
67
typedef uint64_t table_map;          /* Used for table bits in join */
68
68
#if MAX_INDEXES <= 64
69
69
typedef Bitmap<64>  key_map;          /* Used for finding keys */
70
70
#else
76
76
  structures that have not been simplified away and embed more the one
77
77
  element)
78
78
*/
79
 
typedef ulonglong nested_join_map;
 
79
typedef uint64_t nested_join_map;
80
80
 
81
81
/* query_id */
82
 
typedef ulonglong query_id_t;
 
82
typedef uint64_t query_id_t;
83
83
extern query_id_t global_query_id;
84
84
 
85
85
/* increment query_id and return it.  */
659
659
 
660
660
typedef my_bool (*qc_engine_callback)(THD *thd, char *table_key,
661
661
                                      uint key_length,
662
 
                                      ulonglong *engine_data);
 
662
                                      uint64_t *engine_data);
663
663
#include "sql_string.h"
664
664
#include "sql_list.h"
665
665
#include "sql_map.h"
751
751
                    va_list args);
752
752
 
753
753
bool slow_log_print(THD *thd, const char *query, uint query_length,
754
 
                    ulonglong current_utime);
 
754
                    uint64_t current_utime);
755
755
 
756
756
bool general_log_print(THD *thd, enum enum_server_command command,
757
757
                       const char *format,...);
1000
1000
bool mysql_select(THD *thd, Item ***rref_pointer_array,
1001
1001
                  TABLE_LIST *tables, uint wild_num,  List<Item> &list,
1002
1002
                  COND *conds, uint og_num, ORDER *order, ORDER *group,
1003
 
                  Item *having, ORDER *proc_param, ulonglong select_type, 
 
1003
                  Item *having, ORDER *proc_param, uint64_t select_type, 
1004
1004
                  select_result *result, SELECT_LEX_UNIT *unit, 
1005
1005
                  SELECT_LEX *select_lex);
1006
1006
void free_underlaid_joins(THD *thd, SELECT_LEX *select);
1057
1057
                 enum enum_duplicates handle_duplicates, bool ignore);
1058
1058
bool mysql_multi_update(THD *thd, TABLE_LIST *table_list,
1059
1059
                        List<Item> *fields, List<Item> *values,
1060
 
                        COND *conds, ulonglong options,
 
1060
                        COND *conds, uint64_t options,
1061
1061
                        enum enum_duplicates handle_duplicates, bool ignore,
1062
1062
                        SELECT_LEX_UNIT *unit, SELECT_LEX *select_lex);
1063
1063
bool mysql_prepare_insert(THD *thd, TABLE_LIST *table_list, TABLE *table,
1075
1075
void prepare_triggers_for_insert_stmt(TABLE *table);
1076
1076
int mysql_prepare_delete(THD *thd, TABLE_LIST *table_list, Item **conds);
1077
1077
bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
1078
 
                  SQL_LIST *order, ha_rows rows, ulonglong options,
 
1078
                  SQL_LIST *order, ha_rows rows, uint64_t options,
1079
1079
                  bool reset_auto_increment);
1080
1080
bool mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok);
1081
1081
bool mysql_create_or_drop_trigger(THD *thd, TABLE_LIST *tables, bool create);
1582
1582
extern enum_field_types agg_field_type(Item **items, uint nitems);
1583
1583
 
1584
1584
/* strfunc.cc */
1585
 
ulonglong find_set(TYPELIB *lib, const char *x, uint length, CHARSET_INFO *cs,
 
1585
uint64_t find_set(TYPELIB *lib, const char *x, uint length, CHARSET_INFO *cs,
1586
1586
                   char **err_pos, uint *err_len, bool *set_warning);
1587
1587
uint find_type(const TYPELIB *lib, const char *find, uint length,
1588
1588
               bool part_match);
1651
1651
extern char pidfile_name[FN_REFLEN], system_time_zone[30], *opt_init_file;
1652
1652
extern char log_error_file[FN_REFLEN], *opt_tc_log_file;
1653
1653
extern const double log_10[309];
1654
 
extern ulonglong log_10_int[20];
1655
 
extern ulonglong keybuff_size;
1656
 
extern ulonglong thd_startup_options;
 
1654
extern uint64_t log_10_int[20];
 
1655
extern uint64_t keybuff_size;
 
1656
extern uint64_t thd_startup_options;
1657
1657
extern ulong thread_id;
1658
1658
extern ulong binlog_cache_use, binlog_cache_disk_use;
1659
1659
extern ulong aborted_threads,aborted_connects;
1924
1924
void make_time(const DATE_TIME_FORMAT *format, const MYSQL_TIME *l_time,
1925
1925
               String *str);
1926
1926
int my_time_compare(MYSQL_TIME *a, MYSQL_TIME *b);
1927
 
ulonglong get_datetime_value(THD *thd, Item ***item_arg, Item **cache_arg,
 
1927
uint64_t get_datetime_value(THD *thd, Item ***item_arg, Item **cache_arg,
1928
1928
                             Item *warn_item, bool *is_null);
1929
1929
 
1930
1930
int test_if_number(char *str,int *res,bool allow_wildcards);