Date: Wednesday, December 21, 2005 @ 23:01:54
Author: marc
Path: /cvsroot/carob/carob/include
Modified: Statement.hpp (1.16 -> 1.17)
forbid default Statement() constructor
---------------+
Statement.hpp | 2 ++
1 files changed, 2 insertions(+)
Index: carob/include/Statement.hpp
diff -u carob/include/Statement.hpp:1.16 carob/include/Statement.hpp:1.17
--- carob/include/Statement.hpp:1.16 Mon Dec 19 19:41:57 2005
+++ carob/include/Statement.hpp Wed Dec 21 23:01:54 2005
@@ -314,6 +314,8 @@
* @return <code>true</code> if this statement is closed
*/
bool isClosed() { return (connectionPtr == NULL); }
+ //Forbid default constructor: statements must be created by connections
+ Statement();
};
} //namespace CarobNS
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits