This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 3f592f4a7a380daeecfcdf5e3ac45c67d0b3c087 Mon Sep 17 00:00:00 2001 | |
| From: Cyrill Gorcunov <gorcunov@gmail.com> | |
| Date: Mon, 28 Dec 2020 22:24:08 +0300 | |
| Subject: [PATCH] crash: allow to build on non x86-64 machines | |
| The general purpose registers were optional earlier | |
| lets make them optional back allowing the code to | |
| be compiled on non x86-64 machines. | |
| Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test_run = require('test_run').new() | |
| engine = test_run:get_cfg('engine') | |
| box.schema.user.grant('guest', 'replication') | |
| -- Test syntax error | |
| box.cfg{replication_synchro_quorum = "aaa"} | |
| -- Make sure we were configured in a proper way | |
| box.cfg { replication_synchro_quorum = "N/2+1", replication_synchro_timeout = 1000 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) | |
| static void swap(int *a, ssize_t i, ssize_t j) | |
| { | |
| int v = a[i]; | |
| a[i] = a[j], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Linux/x86 5.4.0-rc4 Kernel Configuration | |
| # | |
| # | |
| # Compiler: gcc (GCC) 8.3.1 20190223 (Red Hat 8.3.1-2) | |
| # | |
| CONFIG_CC_IS_GCC=y | |
| CONFIG_GCC_VERSION=80301 |