File: hist-recall-runquery.sql

package info (click to toggle)
hsqldb1.8.0 1.8.0.10%2Bdfsg-10
  • links: PTS
  • area: main
  • in suites: buster
  • size: 13,432 kB
  • sloc: java: 75,802; xml: 11,392; sql: 1,556; sh: 847; makefile: 57
file content (24 lines) | stat: -rw-r--r-- 648 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
    $Id: hist-recall-runquery.sql,v 1.2 2004/06/17 02:50:25 unsaved Exp $

    See readme.txt in this directory for how to unit test SqlTool.

    Tests:  Recall a SQL query from the SQL buffer and execute it.

    HARNESS_METADATA        BEGIN         
    arg                 --noAutoFile
    requireStdoutRegex  (?mis)recalling and executing now:.*select \* from t\b.*^31$
    arg                 mem 
    HARNESS_METADATA        END       
*/

/* The blank line after a command moves the command to history without
   executing it. */
select * from t

create table t (i int);
insert into t values(31);


\p Recalling and executing now:
\-2;