mirror of
https://github.com/MariaDB/server.git
synced 2026-05-17 20:37:12 +02:00
Merge branch '10.11' into 11.4
This commit is contained in:
commit
a8d4642375
335 changed files with 7801 additions and 3248 deletions
|
|
@ -387,7 +387,7 @@ int json_find_paths_next(json_engine_t *je, json_find_paths_t *state);
|
|||
Returns negative integer in the case of an error,
|
||||
the length of the result otherwise.
|
||||
*/
|
||||
int json_unescape(CHARSET_INFO *json_cs,
|
||||
int __attribute__((warn_unused_result)) json_unescape(CHARSET_INFO *json_cs,
|
||||
const uchar *json_str, const uchar *json_end,
|
||||
CHARSET_INFO *res_cs,
|
||||
uchar *res, uchar *res_end);
|
||||
|
|
@ -401,7 +401,8 @@ int json_unescape(CHARSET_INFO *json_cs,
|
|||
JSON_ERROR_OUT_OF_SPACE Not enough space in the provided buffer
|
||||
JSON_ERROR_ILLEGAL_SYMBOL Source symbol cannot be represented in JSON
|
||||
*/
|
||||
int json_escape(CHARSET_INFO *str_cs, const uchar *str, const uchar *str_end,
|
||||
int __attribute__((warn_unused_result)) json_escape(CHARSET_INFO *str_cs,
|
||||
const uchar *str, const uchar *str_end,
|
||||
CHARSET_INFO *json_cs, uchar *json, uchar *json_end);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -220,7 +220,10 @@ enum ha_extra_function {
|
|||
/** Start writing rows during ALTER TABLE...ALGORITHM=COPY. */
|
||||
HA_EXTRA_BEGIN_ALTER_COPY,
|
||||
/** Finish writing rows during ALTER TABLE...ALGORITHM=COPY. */
|
||||
HA_EXTRA_END_ALTER_COPY
|
||||
HA_EXTRA_END_ALTER_COPY,
|
||||
/** Abort of writing rows during ALTER TABLE..ALGORITHM=COPY or
|
||||
CREATE..SELCT */
|
||||
HA_EXTRA_ABORT_ALTER_COPY
|
||||
};
|
||||
|
||||
/* Compatible option, to be deleted in 6.0 */
|
||||
|
|
|
|||
|
|
@ -38,6 +38,8 @@ static inline void *my_get_stack_pointer(void *default_stack)
|
|||
#if defined(__GNUC__) || defined(__clang__) /* GCC and Clang compilers */
|
||||
#if defined(__i386__) /* Intel x86 (32-bit) */
|
||||
__asm__ volatile ("movl %%esp, %0" : "=r" (stack_ptr));
|
||||
#elif defined(__x86_64__) && defined (__ILP32__) /* Intel x86-64 (64-bit), X32 ABI */
|
||||
__asm__ volatile ("movl %%esp, %0" : "=r" (stack_ptr));
|
||||
#elif defined(__x86_64__) /* Intel x86-64 (64-bit) */
|
||||
__asm__ volatile ("movq %%rsp, %0" : "=r" (stack_ptr));
|
||||
#elif defined(__powerpc__) /* PowerPC (32-bit) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue