Fri Jul 20 13:20:15 PDT 2007
- Previous message: [Slony1-commit] slony1-engine/src/slonik slonik.c
- Next message: [Slony1-commit] slony1-engine/src/slon remote_worker.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/slonik In directory main.slony.info:/tmp/cvs-serv20342/slonik Modified Files: slonik.c Log Message: Add "%s" parameter so that printf() does not interpret anything inside DDL requests. As observed by Dmitry Koterov <dmitry at koterov.ru>. Index: slonik.c =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/src/slonik/slonik.c,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** slonik.c 20 Jul 2007 19:59:54 -0000 1.81 --- slonik.c 20 Jul 2007 20:20:13 -0000 1.82 *************** *** 3601,3605 **** strncpy(dest, dstring_data(&script) + startpos, endpos-startpos); dest[STMTS[stmtno]-startpos] = 0; ! slon_mkquery(&query, dest); printf("DDL Statement %d: (%d,%d) [%s]\n", stmtno, startpos, endpos, dest); free(dest); --- 3601,3605 ---- strncpy(dest, dstring_data(&script) + startpos, endpos-startpos); dest[STMTS[stmtno]-startpos] = 0; ! slon_mkquery(&query, "%s", dest); printf("DDL Statement %d: (%d,%d) [%s]\n", stmtno, startpos, endpos, dest); free(dest);
- Previous message: [Slony1-commit] slony1-engine/src/slonik slonik.c
- Next message: [Slony1-commit] slony1-engine/src/slon remote_worker.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list