Skip to content

Commit

Permalink
Added some SSQLSv2 testing files present in previous svn repo but not in
Browse files Browse the repository at this point in the history
tarballs, thus not restored in Fossil conversion, which prevented dtest
from running to completion.  Since SSQLSv2 has never been completed,
this is purely annoying rather than actually important.

FossilOrigin-Name: 143985738d5d24ba26143c536b4fa32676e7582e611149084dc329e0b0b18476
  • Loading branch information
tangent committed Nov 23, 2017
1 parent 1677202 commit e626a72
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/common.ssqls
@@ -0,0 +1,4 @@
option implementation_extension cc
option header_extension hh
option accessor_style getX
option exception_on_schema_mismatch true
10 changes: 10 additions & 0 deletions examples/stock.ssqls
@@ -0,0 +1,10 @@
include common.ssqls

table stock alias SQLStock filebase ssqls_stock
field item type bigint alias id is autoinc is key
field num type bigint
field weight type double
field price type double
field sdate type date
field description type mediumtext is null

13 changes: 13 additions & 0 deletions test/test1.ssqls
@@ -0,0 +1,13 @@
# This is a comment.
# The following blank lines should also be ignored.

include test2.ssqls

table test_ssqls alias TestSsqls filebase test3
field item type bigint alias id is autoinc is key
field num type bigint
field weight type double
field price type decimal(2)
field sdate type date
field description type mediumtext is null

6 changes: 6 additions & 0 deletions test/test2.ssqls
@@ -0,0 +1,6 @@
# Here we give non-default values for all known options, partly to
# exercise them, and partly to test that the include directive works.
option implementation_extension cc
option header_extension hh
option accessor_style getX
option exception_on_schema_mismatch true

0 comments on commit e626a72

Please sign in to comment.