Lines 1-6
Link Here
|
1 |
--- src/sql_common.c.orig 2020-05-10 13:57:54 UTC |
1 |
--- src/sql_common.c.orig 2020-05-10 13:57:54 UTC |
2 |
+++ src/sql_common.c |
2 |
+++ src/sql_common.c |
3 |
@@ -126,8 +126,8 @@ void sql_init_global_buffers() |
3 |
@@ -45,8 +45,8 @@ unsigned char *pipebuf; |
|
|
4 |
struct db_cache *sql_cache; |
5 |
struct db_cache **sql_queries_queue, **sql_pending_queries_queue; |
6 |
struct db_cache *collision_queue; |
7 |
-int cq_ptr, qq_ptr, qq_size, pp_size, pb_size, pn_size, pm_size, pt_size; |
8 |
-int pc_size, dbc_size, cq_size, pqq_ptr; |
9 |
+int cq_ptr, qq_size; |
10 |
+int cq_size; |
11 |
struct db_cache lru_head, *lru_tail; |
12 |
struct frags where[N_PRIMITIVES+2]; |
13 |
struct frags values[N_PRIMITIVES+2]; |
14 |
@@ -60,8 +60,7 @@ time_t glob_committed_basetime; /* last resort for sig |
15 |
int glob_dyn_table, glob_dyn_table_time_only; /* last resort for signal handling */ |
16 |
int glob_timeslot; /* last resort for sql handlers */ |
17 |
|
18 |
-struct sqlfunc_cb_registry sqlfunc_cbr; |
19 |
-void (*insert_func)(struct primitives_ptrs *, struct insert_data *); |
20 |
+struct sqlfunc_cb_registry sqlfunc_cbr; |
21 |
struct DBdesc p; |
22 |
struct DBdesc b; |
23 |
struct BE_descs bed; |
24 |
@@ -126,8 +125,8 @@ void sql_init_global_buffers() |
4 |
lru_tail = &lru_head; |
25 |
lru_tail = &lru_head; |
5 |
|
26 |
|
6 |
Log(LOG_INFO, "INFO ( %s/%s ): cache entries=%d base cache memory=%luu bytes\n", config.name, config.type, |
27 |
Log(LOG_INFO, "INFO ( %s/%s ): cache entries=%d base cache memory=%luu bytes\n", config.name, config.type, |