diff options
author | xue <> | 2006-11-27 03:26:34 +0000 |
---|---|---|
committer | xue <> | 2006-11-27 03:26:34 +0000 |
commit | be7e81cbe08c5df97e9f1614318ce0168935f1b1 (patch) | |
tree | 69db1053fa1b73998b75def0b459a2cb0a7e6f8c /framework/Data/TDbCommand.php | |
parent | 4a27d5922ee2ffc8a2c881f9c5f3b34d222f81c9 (diff) |
revert some change.
Diffstat (limited to 'framework/Data/TDbCommand.php')
-rw-r--r-- | framework/Data/TDbCommand.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/framework/Data/TDbCommand.php b/framework/Data/TDbCommand.php index 82e46a25..98bb31ea 100644 --- a/framework/Data/TDbCommand.php +++ b/framework/Data/TDbCommand.php @@ -177,11 +177,7 @@ class TDbCommand extends TComponent return $this->_statement->rowCount();
}
else
- {
- $int = $this->getConnection()->getPdoInstance()->exec($this->getText());
- var_dump($int);
- return $int;
- }
+ return $this->getConnection()->getPdoInstance()->exec($this->getText());
}
catch(Exception $e)
{
|