vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Please note that support added to dbcopy.ec for the use of COMMITTED READ LAST COMMITTED isolation level (-I) is NOT compatible with cSDK versions earlier than the v3.00 which is being released along with IDS 11.10 and so will not compile. I will be releasing a backward compatible update shortly, for now you can comment out the line that reads: EXEC SQL SET ISOLATION COMMITTED READ LAST COMMITTED; If you're feeling adventurous and need support for this IDS 11.xx feature to compile using cSDK v2.90 or earlier - before the update is released you can replace: if (last_committed) { /* Give it a try. If it fails, use lock mode, it fails silently. */ EXEC SQL SET ISOLATION COMMITTED READ LAST COMMITTED; } With: if (last_committed) { char isolation[500]; /* Give it a try. If it fails, use lock mode & warn. */ snprintf( isolation, sizeof isolation, "SET ISOLATION COMMITTED READ LAST COMMITTED" ); EXEC SQL EXECUTE IMMEDIATE :isolation; if (sqlca.sqlcode < 0) { fprintf(stderr, "Warning LAST COMMITTED isolation mode not available: " "%d, %d. Ignoring.\n", sqlca.sqlcode, sqlca.sqlerrd[1]); } } Art S. Kagel |