summaryrefslogtreecommitdiff
path: root/src/port/erand48.c
diff options
context:
space:
mode:
authorSimon Riggs2015-05-15 18:37:10 +0000
committerSimon Riggs2015-05-15 18:37:10 +0000
commitf6d208d6e51810c73f0e02c477984a6b44627f11 (patch)
tree99d540d0b7bda73ff60479f15444f554403d4679 /src/port/erand48.c
parent11a83bbedd73800db70f6f2af5a8eb10d15d39d7 (diff)
TABLESAMPLE, SQL Standard and extensible
Add a TABLESAMPLE clause to SELECT statements that allows user to specify random BERNOULLI sampling or block level SYSTEM sampling. Implementation allows for extensible sampling functions to be written, using a standard API. Basic version follows SQLStandard exactly. Usable concrete use cases for the sampling API follow in later commits. Petr Jelinek Reviewed by Michael Paquier and Simon Riggs
Diffstat (limited to 'src/port/erand48.c')
-rw-r--r--src/port/erand48.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/port/erand48.c b/src/port/erand48.c
index 9d471197c35..12efd8193c4 100644
--- a/src/port/erand48.c
+++ b/src/port/erand48.c
@@ -33,9 +33,6 @@
#include <math.h>
-#define RAND48_SEED_0 (0x330e)
-#define RAND48_SEED_1 (0xabcd)
-#define RAND48_SEED_2 (0x1234)
#define RAND48_MULT_0 (0xe66d)
#define RAND48_MULT_1 (0xdeec)
#define RAND48_MULT_2 (0x0005)