| LEFT | RIGHT |
| 1 // Copyright 2008, Google Inc. | 1 // Copyright 2008, Google Inc. |
| 2 // | 2 // |
| 3 // Redistribution and use in source and binary forms, with or without | 3 // Redistribution and use in source and binary forms, with or without |
| 4 // modification, are permitted provided that the following conditions are met: | 4 // modification, are permitted provided that the following conditions are met: |
| 5 // | 5 // |
| 6 // 1. Redistributions of source code must retain the above copyright notice, | 6 // 1. Redistributions of source code must retain the above copyright notice, |
| 7 // this list of conditions and the following disclaimer. | 7 // this list of conditions and the following disclaimer. |
| 8 // 2. Redistributions in binary form must reproduce the above copyright notice, | 8 // 2. Redistributions in binary form must reproduce the above copyright notice, |
| 9 // this list of conditions and the following disclaimer in the documentation | 9 // this list of conditions and the following disclaimer in the documentation |
| 10 // and/or other materials provided with the distribution. | 10 // and/or other materials provided with the distribution. |
| (...skipping 60 matching lines...) Show 10 above Show 10 below |
| 71 // execute ROLLBACK | 71 // execute ROLLBACK |
| 72 // don't remember or handle errors | 72 // don't remember or handle errors |
| 73 } | 73 } |
| 74 | 74 |
| 75 bool Database2Connection::Commit() { | 75 bool Database2Connection::Commit() { |
| 76 // execute COMMIT | 76 // execute COMMIT |
| 77 // if error, set error code and message, return false | 77 // if error, set error code and message, return false |
| 78 // return true upon success | 78 // return true upon success |
| 79 return true; | 79 return true; |
| 80 } | 80 } |
| LEFT | RIGHT |