Steve Singer,,, ssinger at lists.slony.info
Wed Mar 31 07:12:04 PDT 2010
Update of /home/cvsd/slony1/slony1-engine/tests/testutf8
In directory main.slony.info:/tmp/cvs-serv15656/tests/testutf8

Modified Files:
      Tag: REL_2_0_STABLE
	generate_dml.sh 
Log Message:
Perform a va_copy and use the copy in the loop that uses va_args.
You are not allowed to use va_args multiple times.

Fix for bug # 55

Patch submitted by Paul Cannon



Index: generate_dml.sh
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/testutf8/generate_dml.sh,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -C 2 -d -r1.5.2.1 -r1.5.2.2
*** generate_dml.sh	28 Apr 2009 21:48:20 -0000	1.5.2.1
--- generate_dml.sh	31 Mar 2010 14:12:02 -0000	1.5.2.2
***************
*** 49,52 ****
--- 49,53 ----
      echo "INSERT INTO utf8table (string) values ('t3 -- \303\241 - ${txtb}');" >> $GENDATA
      echo "INSERT INTO utf8table (string) values ('t3 - \303\241 -- ${txtb}');" >> $GENDATA
+     echo "INSERT INTO utf8table (string) values(repeat('test1234',4000)||'bar');" >> $GENDATA
      if [ ${i} -ge ${numrows} ]; then
        break;



More information about the Slony1-commit mailing list