Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/rust/pe-unwind-info/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 4 kB image not shown  

Quelle  wsrep-recover-sequences.result   Sprache: Lisp

 

CREATE SEQUENCE s INCREMENT=0 CACHE=5 ENGINE=InnoDB;
CREATE TABLE t1 (f1 INT PRIMARY KEY DEFAULT NEXTVAL(s), f2 INT) ENGINE=InnoDB;
# Reserve values 1..5 from sequence
BEGIN;
INSERT INTO t1(f2) SELECT * FROM seq_1_to_5;
# From second connection execute enough INSERTs to reserve
# new range from sequence 
connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1;
# Reserve values 6..25 from sequence
BEGIN;
INSERT INTO t1(f2) SELECT * FROM seq_1_to_20;
# From third connection execute enough INSERTs to reserve
# new range from sequence and commit
connect node_1b, 127.0.0.1, root, , test, $NODE_MYPORT_1;
# Reserve values 26..35 from sequence
BEGIN;
INSERT INTO t1(f2) SELECT * FROM seq_1_to_10;
COMMIT;
SET GLOBAL innodb_log_checkpoint_now=1;
connection default;
# Killing server
# Kill the server
Expect seqno 4
4
# Next free value is 36
SELECT NEXTVAL(s) AS EXPECT_36;
EXPECT_36
36
SELECT * from t1;
f1 f2
26 1
27 2
28 3
29 4
30 5
31 6
32 7
33 8
34 9
35 10
DROP TABLE t1;
DROP SEQUENCE s;

Messung V0.5 in Prozent
C=60 H=100 G=82

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet am  2026-10-08) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.