-C If\sa\stable\scolumn\sname\sbegins\swith\s"__hidden__"\sthen\sdo\snot\sinclude\sthat\ncolumn\sin\s"*"\sexpansions\sin\sSELECT\sstatements,\snor\sfill\sin\sthat\scolumn\sin\nan\sINSERT\sINTO\sthat\somits\sthe\scolumn\slist.\s\s<b>This\sbranch\sis\sa\s\nproof-of-concept\sonly\sand\sis\snot\sintended\sto\sever\sbe\smerged\sinto\strunk.</b>
-D 2015-11-18T18:43:15.107
+C Add\sa\stest\sfor\sthe\s__hidden__\shack\son\sthis\sbranch.
+D 2015-11-18T20:07:12.847
F Makefile.in d828db6afa6c1fa060d01e33e4674408df1942a1
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
F Makefile.msc e928e68168df69b353300ac87c10105206653a03
F test/fuzzerfault.test 8792cd77fd5bce765b05d0c8e01b9edcf8af8536
F test/genesis.tcl 1e2e2e8e5cc4058549a154ff1892fe5c9de19f98
F test/hexlit.test 1d312fa816dfd3650a3bb488093bc09a0c927f67
+F test/hidden.test b48497a68ad5fc428533e08df7f3743ef919e168
F test/hook.test 162d7cef7a2d2b04839fe14402934e6a1b79442f
F test/icu.test 70df4faca133254c042d02ae342c0a141f2663f4
F test/ieee754.test 118b665a97a8df0e8f2fbdb07d113e596f4a6b53
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
F tool/warnings.sh 48bd54594752d5be3337f12c72f28d2080cb630b
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P 4f521b5bb36a1117db324e92dcf80abd2f1a5bc1
-R 935d388c6bd4428c029b70918e7ca51f
-T *branch * hidden-columns-in-tables
-T *sym-hidden-columns-in-tables *
-T -sym-trunk *
-U drh
-Z 5682a263851a58e238bd47d4c8fd6809
+P 2dbffb3a3b20dba7d7d86c8ad2e34633f616c78a
+R 83cf7865dae52d6bb8a186c1aa991823
+U dan
+Z 1a0e4ed515d3bb3eb2db7f71110d453e
--- /dev/null
+# 2015 November 18
+#
+# The author disclaims copyright to this source code. In place of
+# a legal notice, here is a blessing:
+#
+# May you do good and not evil.
+# May you find forgiveness for yourself and forgive others.
+# May you share freely, never taking more than you give.
+#
+#***********************************************************************
+#
+# Test the __hidden__ hack.
+#
+
+set testdir [file dirname $argv0]
+source $testdir/tester.tcl
+set testprefix hidden
+
+do_execsql_test 1.1 {
+ CREATE TABLE t1(__hidden__a, b);
+ INSERT INTO t1 VALUES('1');
+ INSERT INTO t1(__hidden__a, b) VALUES('x', 'y');
+} {}
+
+do_execsql_test 1.2 {
+ SELECT * FROM t1;
+} {1 y}
+
+do_execsql_test 1.3 {
+ SELECT __hidden__a, * FROM t1;
+} {{} 1 x y}
+
+#do_execsql_test 2.1 {
+ #CREATE TABLE x1(a, b, c);
+ #INSERT INTO x1 VALUES(1, 2, 3);
+ #CREATE VIEW v1(a, b, __hidden__c) AS SELECT a, b, c FROM x1;
+ #SELECT * FROM v1;
+#} {1 2}
+
+do_execsql_test 2.2 {
+ PRAGMA table_info(v1);
+} {
+0 a {} 0 {} 0
+1 b {} 0 {} 0
+2 __hidden__c {} 0 {} 0
+}
+
+
+
+
+finish_test