Zend_Db_Statement_Exception Object
(
    [message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '65535' for key 1
    [string:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/html/lib/Zend/Db/Statement/Pdo.php
    [line:protected] => 238
    [trace:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/html/lib/Zend/Db/Statement.php
                    [line] => 283
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => catalog_product_flat
                                    [1] => a:1:{s:8:"is_built";b:0;}
                                    [2] => 2010-03-11 16:29:48
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /var/www/html/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 457
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => catalog_product_flat
                                    [1] => a:1:{s:8:"is_built";b:0;}
                                    [2] => 2010-03-11 16:29:48
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /var/www/html/lib/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 230
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `core_flag` (`flag_code`, `flag_data`, `last_update`) VALUES (?, ?, ?)
                            [1] => Array
                                (
                                    [0] => catalog_product_flat
                                    [1] => a:1:{s:8:"is_built";b:0;}
                                    [2] => 2010-03-11 16:29:48
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /var/www/html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 281
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `core_flag` (`flag_code`, `flag_data`, `last_update`) VALUES (?, ?, ?)
                            [1] => Array
                                (
                                    [0] => catalog_product_flat
                                    [1] => a:1:{s:8:"is_built";b:0;}
                                    [2] => 2010-03-11 16:29:48
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/html/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 535
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `core_flag` (`flag_code`, `flag_data`, `last_update`) VALUES (?, ?, ?)
                            [1] => Array
                                (
                                    [0] => catalog_product_flat
                                    [1] => a:1:{s:8:"is_built";b:0;}
                                    [2] => 2010-03-11 16:29:48
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /var/www/html/app/code/core/Mage/Core/Model/Mysql4/Abstract.php
                    [line] => 369
                    [function] => insert
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => core_flag
                            [1] => Array
                                (
                                    [flag_code] => catalog_product_flat
                                    [flag_data] => a:1:{s:8:"is_built";b:0;}
                                    [last_update] => 2010-03-11 16:29:48
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /var/www/html/app/code/core/Mage/Core/Model/Abstract.php
                    [line] => 251
                    [function] => save
                    [class] => Mage_Core_Model_Mysql4_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Mage_Catalog_Model_Product_Flat_Flag Object
                                (
                                    [_flagCode:protected] => catalog_product_flat
                                    [_eventPrefix:protected] => core_abstract
                                    [_eventObject:protected] => object
                                    [_resourceName:protected] => core/flag
                                    [_resource:protected] => 
                                    [_resourceCollectionName:protected] => core/flag_collection
                                    [_cacheTag:protected] => 
                                    [_dataSaveAllowed:protected] => 1
                                    [_data:protected] => Array
                                        (
                                            [flag_data] => a:1:{s:8:"is_built";b:0;}
                                            [flag_code] => catalog_product_flat
                                            [last_update] => 2010-03-11 16:29:48
                                        )

                                    [_origData:protected] => Array
                                        (
                                        )

                                    [_idFieldName:protected] => flag_id
                                    [_isDeleted:protected] => 
                                )

                        )

                )

            [7] => Array
                (
                    [file] => /var/www/html/app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.65-0.7.66.php
                    [line] => 34
                    [function] => save
                    [class] => Mage_Core_Model_Abstract
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [8] => Array
                (
                    [file] => /var/www/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 274
                    [args] => Array
                        (
                            [0] => /var/www/html/app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.65-0.7.66.php
                        )

                    [function] => include
                )

            [9] => Array
                (
                    [file] => /var/www/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 179
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => upgrade
                            [1] => 0.7.65
                            [2] => 0.7.69
                        )

                )

            [10] => Array
                (
                    [file] => /var/www/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 146
                    [function] => _upgradeResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 0.7.65
                            [1] => 0.7.69
                        )

                )

            [11] => Array
                (
                    [file] => /var/www/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 121
                    [function] => applyUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [12] => Array
                (
                    [file] => /var/www/html/app/code/core/Mage/Core/Model/Config.php
                    [line] => 263
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [13] => Array
                (
                    [file] => /var/www/html/app/code/core/Mage/Core/Model/App.php
                    [line] => 263
                    [function] => init
                    [class] => Mage_Core_Model_Config
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [14] => Array
                (
                    [file] => /var/www/html/app/Mage.php
                    [line] => 434
                    [function] => init
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                            [2] => Array
                                (
                                )

                        )

                )

            [15] => Array
                (
                    [file] => /var/www/html/app/Mage.php
                    [line] => 455
                    [function] => app
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                            [2] => Array
                                (
                                )

                        )

                )

            [16] => Array
                (
                    [file] => /var/www/html/index.php
                    [line] => 65
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

        )

)