Merge lp:~brianaker/drizzle/andrew-merge-7-1 into lp:drizzle/7.1

Proposed by Brian Aker
Status: Merged
Approved by: Brian Aker
Approved revision: 2545
Merged at revision: 2545
Proposed branch: lp:~brianaker/drizzle/andrew-merge-7-1
Merge into: lp:drizzle/7.1
Diff against target: 99 lines (+11/-10)
2 files modified
drizzled/drizzled.cc (+10/-10)
drizzled/execute/scanner.l (+1/-0)
To merge this branch: bzr merge lp:~brianaker/drizzle/andrew-merge-7-1
Reviewer Review Type Date Requested Status
Drizzle Trunk Pending
Review via email: mp+102994@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'drizzled/drizzled.cc'
2--- drizzled/drizzled.cc 2012-04-18 23:08:45 +0000
3+++ drizzled/drizzled.cc 2012-04-22 00:54:23 +0000
4@@ -1753,7 +1753,7 @@
5 "a limit per thread!"),
6 (char**) &global_system_variables.bulk_insert_buff_size,
7 NULL,
8- 0, GET_ULL, REQUIRED_ARG, 8192*1024, 0, ULONG_MAX, 0, 1, 0},
9+ 0, GET_ULL, REQUIRED_ARG, 8192*1024, 0, (int64_t)ULONG_MAX, 0, 1, 0},
10 { "div_precision_increment", OPT_DIV_PRECINCREMENT,
11 N_("Precision of the result of '/' operator will be increased on that "
12 "value."),
13@@ -1764,7 +1764,7 @@
14 N_("The size of the buffer that is used for full joins."),
15 (char**) &global_system_variables.join_buff_size,
16 NULL, 0, GET_UINT64,
17- REQUIRED_ARG, 128*1024L, IO_SIZE*2+MALLOC_OVERHEAD, ULONG_MAX,
18+ REQUIRED_ARG, 128*1024L, IO_SIZE*2+MALLOC_OVERHEAD, (int64_t)ULONG_MAX,
19 MALLOC_OVERHEAD, IO_SIZE, 0},
20 {"max_allowed_packet", OPT_MAX_ALLOWED_PACKET,
21 N_("Max packetlength to send/receive from to server."),
22@@ -1775,7 +1775,7 @@
23 N_("Don't allow creation of heap tables bigger than this."),
24 (char**) &global_system_variables.max_heap_table_size,
25 NULL, 0, GET_ULL,
26- REQUIRED_ARG, 16*1024*1024L, 16384, MAX_MEM_TABLE_SIZE,
27+ REQUIRED_ARG, 16*1024*1024L, 16384, (int64_t)MAX_MEM_TABLE_SIZE,
28 MALLOC_OVERHEAD, 1024, 0},
29 {"max_join_size", OPT_MAX_JOIN_SIZE,
30 N_("Joins that are probably going to read more than max_join_size records "
31@@ -1792,7 +1792,7 @@
32 N_("Limit assumed max number of seeks when looking up rows based on a key"),
33 (char**) &global_system_variables.max_seeks_for_key,
34 NULL, 0, GET_UINT64,
35- REQUIRED_ARG, ULONG_MAX, 1, ULONG_MAX, 0, 1, 0 },
36+ REQUIRED_ARG, (int64_t)ULONG_MAX, 1, (int64_t)ULONG_MAX, 0, 1, 0 },
37 {"max_sort_length", OPT_MAX_SORT_LENGTH,
38 N_("The number of bytes to use when sorting BLOB or TEXT values "
39 "(only the first max_sort_length bytes of each value are used; the "
40@@ -1803,13 +1803,13 @@
41 {"max_write_lock_count", OPT_MAX_WRITE_LOCK_COUNT,
42 N_("After this many write locks, allow some read locks to run in between."),
43 (char**) &max_write_lock_count, NULL, 0, GET_ULL,
44- REQUIRED_ARG, ULONG_MAX, 1, ULONG_MAX, 0, 1, 0},
45+ REQUIRED_ARG, (int64_t)ULONG_MAX, 1, (int64_t)ULONG_MAX, 0, 1, 0},
46 {"min_examined_row_limit", OPT_MIN_EXAMINED_ROW_LIMIT,
47 N_("Don't log queries which examine less than min_examined_row_limit "
48 "rows to file."),
49 (char**) &global_system_variables.min_examined_row_limit,
50 NULL, 0, GET_ULL,
51- REQUIRED_ARG, 0, 0, ULONG_MAX, 0, 1L, 0},
52+ REQUIRED_ARG, 0, 0, (int64_t)ULONG_MAX, 0, 1L, 0},
53 {"optimizer_prune_level", OPT_OPTIMIZER_PRUNE_LEVEL,
54 N_("Controls the heuristic(s) applied during query optimization to prune "
55 "less-promising partial plans from the optimizer search space. Meaning: "
56@@ -1861,13 +1861,13 @@
57 N_("Allocation block size for query parsing and execution"),
58 (char**) &global_system_variables.query_alloc_block_size,
59 NULL, 0, GET_UINT,
60- REQUIRED_ARG, QUERY_ALLOC_BLOCK_SIZE, 1024, ULONG_MAX, 0, 1024, 0},
61+ REQUIRED_ARG, QUERY_ALLOC_BLOCK_SIZE, 1024, (int64_t)ULONG_MAX, 0, 1024, 0},
62 {"query_prealloc_size", OPT_QUERY_PREALLOC_SIZE,
63 N_("Persistent buffer for query parsing and execution"),
64 (char**) &global_system_variables.query_prealloc_size,
65 NULL, 0, GET_UINT,
66 REQUIRED_ARG, QUERY_ALLOC_PREALLOC_SIZE, QUERY_ALLOC_PREALLOC_SIZE,
67- ULONG_MAX, 0, 1024, 0},
68+ (int64_t)ULONG_MAX, 0, 1024, 0},
69 {"range_alloc_block_size", OPT_RANGE_ALLOC_BLOCK_SIZE,
70 N_("Allocation block size for storing ranges during optimization"),
71 (char**) &global_system_variables.range_alloc_block_size,
72@@ -1915,13 +1915,13 @@
73 (char**) &my_thread_stack_size,
74 NULL, 0, GET_SIZE,
75 REQUIRED_ARG,0,
76- UINT32_C(1024*512), SIZE_MAX, 0, 1024, 0},
77+ UINT32_C(1024*512), (int64_t)SIZE_MAX, 0, 1024, 0},
78 {"tmp_table_size", OPT_TMP_TABLE_SIZE,
79 N_("If an internal in-memory temporary table exceeds this size, Drizzle will"
80 " automatically convert it to an on-disk MyISAM table."),
81 (char**) &global_system_variables.tmp_table_size,
82 NULL, 0, GET_ULL,
83- REQUIRED_ARG, 16*1024*1024L, 1024, MAX_MEM_TABLE_SIZE, 0, 1, 0},
84+ REQUIRED_ARG, 16*1024*1024L, 1024, (int64_t)MAX_MEM_TABLE_SIZE, 0, 1, 0},
85 {0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}
86 };
87
88
89=== modified file 'drizzled/execute/scanner.l'
90--- drizzled/execute/scanner.l 2011-10-06 20:27:18 +0000
91+++ drizzled/execute/scanner.l 2012-04-22 00:54:23 +0000
92@@ -116,6 +116,7 @@
93 %option perf-report
94 %option prefix="execute_"
95 %option reentrant
96+%option never-interactive
97 %%
98
99 {UTF8_BYTE_ORDER_MARK} { /* Byte Order Mark */ }

Subscribers

People subscribed via source and target branches

to all changes: