-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathquery_test.go
More file actions
41 lines (33 loc) · 774 Bytes
/
query_test.go
File metadata and controls
41 lines (33 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright Suneido Software Corp. All rights reserved.
// Governed by the MIT license found in the LICENSE file.
package main
// import (
// "testing"
// "github.com/apmckinlay/gsuneido/builtin"
// . "github.com/apmckinlay/gsuneido/core"
// )
// func TestFuzzBug(t *testing.T) {
// openDbms()
// defer db.CloseKeepMapped()
// /* Schemas:
// cus
// (c1, c2, c3, c4, ck)
// key (ck)
// ivc
// (ck, i1, i2, i3, i4, ik)
// key (ik)
// index (ck) in cus
// */
// query := ` (((cus
// union /*NOT DISJOINT*/
// cus)
// union /*NOT DISJOINT*/
// cus)
// join /*MANY TO MANY*/ by(ck)
// (ivc
// extend r0))
// where r0 is '3'
// where ik is ""`
// th := &Thread{}
// builtin.QueryHash(th, []Value{SuStr(query), False})
// }