Make compatible with raw SQL instrumentation

Store the intermediate SQL query in our standard member variable, so it
can be displayed in the GUI.

Change-Id: I2a003b7190515c3ca99b618fab35111f4ce21c0e