PDOException Object
(
    [message:protected] => SQLSTATE[HY000]: General error: 1025 Error on rename of './windo968_windonusadb/wn_poll_store' to './windo968_windonusadb/#sql2-7854-48cb8' (errno: 152)
    [string:Exception:private] => 
    [code:protected] => HY000
    [file:protected] => /home/windo968/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
    [line:protected] => 277
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/windo968/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 277
                    [function] => query
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE wn_poll_store
    DROP FOREIGN KEY `FK_POLL_STORE`
                        )

                )

            [1] => Array
                (
                    [file] => /home/windo968/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 401
                    [function] => raw_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE wn_poll_store
    DROP FOREIGN KEY `FK_POLL_STORE`
                        )

                )

            [2] => Array
                (
                    [file] => /home/windo968/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 636
                    [function] => multi_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
ALTER TABLE wn_poll_store
    DROP FOREIGN KEY `FK_POLL_STORE`;
ALTER TABLE wn_poll_store
    ADD CONSTRAINT `FK_POLL_STORE_POLL` FOREIGN KEY (`poll_id`)
    REFERENCES wn_poll (`poll_id`)
        ON UPDATE CASCADE
        ON DELETE CASCADE;

                        )

                )

            [3] => Array
                (
                    [file] => /home/windo968/public_html/app/code/core/Mage/Poll/sql/poll_setup/mysql4-upgrade-0.7.1-0.7.2.php
                    [line] => 48
                    [function] => run
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
ALTER TABLE wn_poll_store
    DROP FOREIGN KEY `FK_POLL_STORE`;
ALTER TABLE wn_poll_store
    ADD CONSTRAINT `FK_POLL_STORE_POLL` FOREIGN KEY (`poll_id`)
    REFERENCES wn_poll (`poll_id`)
        ON UPDATE CASCADE
        ON DELETE CASCADE;

                        )

                )

            [4] => Array
                (
                    [file] => /home/windo968/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 376
                    [args] => Array
                        (
                            [0] => /home/windo968/public_html/app/code/core/Mage/Poll/sql/poll_setup/mysql4-upgrade-0.7.1-0.7.2.php
                        )

                    [function] => include
                )

            [5] => Array
                (
                    [file] => /home/windo968/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 289
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => upgrade
                            [1] => 0.7.0
                            [2] => 0.7.2
                        )

                )

            [6] => Array
                (
                    [file] => /home/windo968/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 233
                    [function] => _upgradeResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 0.7.0
                            [1] => 0.7.2
                        )

                )

            [7] => Array
                (
                    [file] => /home/windo968/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 161
                    [function] => applyUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [8] => Array
                (
                    [file] => /home/windo968/public_html/app/code/core/Mage/Core/Model/App.php
                    [line] => 399
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [9] => Array
                (
                    [file] => /home/windo968/public_html/app/code/core/Mage/Core/Model/App.php
                    [line] => 329
                    [function] => _initModules
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [10] => Array
                (
                    [file] => /home/windo968/public_html/app/Mage.php
                    [line] => 627
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [scope_code] => 
                                    [scope_type] => store
                                    [options] => Array
                                        (
                                        )

                                )

                        )

                )

            [11] => Array
                (
                    [file] => /home/windo968/public_html/index.php
                    [line] => 80
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => HY000
            [1] => 1025
            [2] => Error on rename of './windo968_windonusadb/wn_poll_store' to './windo968_windonusadb/#sql2-7854-48cb8' (errno: 152)
        )

)