Chris Browne cbbrowne at lists.slony.info
Tue Oct 23 08:01:11 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/src/parsestatements
In directory main.slony.info:/tmp/cvs-serv9830

Modified Files:
	test_sql.expected.win32 
Added Files:
	cstylecomments.expected.win32 
Log Message:
Win32 test files per Hiroshi Saito


--- NEW FILE: cstylecomments.expected.win32 ---
Input: -- Have two statements separated by a C-style string
select * from a;
/*
select count(distinct person_id)
from
    person
    join dictionary on dic_category_id=11
    left join person_settings on ps_person_id=person_id and ps_did=dic_id
where
    ps_person_id is null
-- only 9000!
*/
select * from b;
/************ *foooo*   /- *
/   here is a tremendously ugly C-style comment
* * * * * /
-- **{***(***[****/
select * from c;

/* lets have a comment and a  /* nested comment */ */
-- Force a query to be at the end...

create table foo;

statement 0
-------------------------------------------
-- Have two statements separated by a C-style string
select * from a;
statement 1
-------------------------------------------

/*
select count(distinct person_id)
from
    person
    join dictionary on dic_category_id=11
    left join person_settings on ps_person_id=person_id and ps_did=dic_id
where
    ps_person_id is null
-- only 9000!
*/
select * from b;
statement 2
-------------------------------------------

/************ *foooo*   /- *
/   here is a tremendously ugly C-style comment
* * * * * /
-- **{***(***[****/
select * from c;
statement 3
-------------------------------------------


/* lets have a comment and a  /* nested comment */ */
-- Force a query to be at the end...

create table foo; 
Index: test_sql.expected.win32
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/parsestatements/test_sql.expected.win32,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** test_sql.expected.win32	29 Aug 2007 15:14:08 -0000	1.4
--- test_sql.expected.win32	23 Oct 2007 15:01:09 -0000	1.5
***************
*** 60,65 ****
  
  -- Some more torturing per Weslee Bilodeau
! 
! -- I figure the $_$, $$, etc edge-casees would be another fun one to roll
  -- into a custom parser.
  
--- 60,64 ----
  
  -- Some more torturing per Weslee Bilodeau
! -- I figure the $_$, $$, etc edge-cases would be another fun one to roll
  -- into a custom parser.
  
***************
*** 194,199 ****
  
  -- Some more torturing per Weslee Bilodeau
! 
! -- I figure the $_$, $$, etc edge-casees would be another fun one to roll
  -- into a custom parser.
  
--- 193,197 ----
  
  -- Some more torturing per Weslee Bilodeau
! -- I figure the $_$, $$, etc edge-cases would be another fun one to roll
  -- into a custom parser.
  



More information about the Slony1-commit mailing list