Added #ifdef's to make code work even when the system is built without row-based replication.
Attach a file by drag & drop or click to upload