Guest User

Untitled

a guest
Nov 18th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.12 KB | None | 0 0
  1. ## 2011-08-25 16:24:58
  2. ## 5244 ## QUERY
  3. SQL: CREATE TABLE `eavblog_posts_text` (
  4. `value_id` int NOT NULL auto_increment COMMENT 'Value Id',
  5. `entity_type_id` smallint UNSIGNED NOT NULL default '0' COMMENT 'Entity Type Id',
  6. `attribute_id` smallint UNSIGNED NOT NULL default '0' COMMENT 'Attribute Id',
  7. `store_id` smallint UNSIGNED NOT NULL default '0' COMMENT 'Store Id',
  8. `entity_id` int UNSIGNED NOT NULL default '0' COMMENT 'Entity Id',
  9. `value` text NOT NULL COMMENT 'Attribute Value',
  10. PRIMARY KEY (`value_id`),
  11. INDEX `IDX_EAVBLOG_POSTS_TEXT_ENTITY_TYPE_ID` (`entity_type_id`),
  12. INDEX `IDX_EAVBLOG_POSTS_TEXT_ATTRIBUTE_ID` (`attribute_id`),
  13. INDEX `IDX_EAVBLOG_POSTS_TEXT_STORE_ID` (`store_id`),
  14. INDEX `IDX_EAVBLOG_POSTS_TEXT_ENTITY_ID` (`entity_id`),
  15. INDEX `IDX_EAVBLOG_POSTS_TEXT_ATTRIBUTE_ID_VALUE` (`attribute_id`, `value`),
  16. INDEX `IDX_EAVBLOG_POSTS_TEXT_ENTITY_TYPE_ID_VALUE` (`entity_type_id`, `value`),
  17. CONSTRAINT `FK_EAVBLOG_POSTS_TEXT_ENTITY_ID_EAV_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `eav_entity` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  18. CONSTRAINT `FK_EAVBLOG_POSTS_TEXT_ENTT_TYPE_ID_EAV_ENTT_TYPE_ENTT_TYPE_ID` FOREIGN KEY (`entity_type_id`) REFERENCES `eav_entity_type` (`entity_type_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  19. CONSTRAINT `FK_EAVBLOG_POSTS_TEXT_STORE_ID_CORE_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `core_store` (`store_id`) ON DELETE CASCADE ON UPDATE CASCADE
  20. ) COMMENT='Eav Entity Value Table' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
  21. TIME: 0.0028
  22.  
  23. ## 2011-08-25 16:24:58
  24. EXCEPTION
  25. exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1170 BLOB/TEXT column 'value' used in key specification without a key length' in /var/www/magento1.local/lib/Zend/Db/Statement/Pdo.php:228
  26. Stack trace:
  27. #0 /var/www/magento1.local/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
  28. #1 /var/www/magento1.local/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
  29. #2 /var/www/magento1.local/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
  30. #3 /var/www/magento1.local/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
  31. #4 /var/www/magento1.local/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('CREATE TABLE `e...', Array)
  32. #5 /var/www/magento1.local/lib/Varien/Db/Adapter/Pdo/Mysql.php(389): Zend_Db_Adapter_Pdo_Abstract->query('CREATE TABLE `e...', Array)
  33. #6 /var/www/magento1.local/lib/Varien/Db/Adapter/Pdo/Mysql.php(1968): Varien_Db_Adapter_Pdo_Mysql->query('CREATE TABLE `e...')
  34. #7 /var/www/magento1.local/app/code/core/Mage/Eav/Model/Entity/Setup.php(1358): Varien_Db_Adapter_Pdo_Mysql->createTable(Object(Varien_Db_Ddl_Table))
  35. #8 /var/www/magento1.local/.modman/Magentotutorial_Complexworld/code/sql/complexworld_setup/mysql4-install-0.1.0.php(17): Mage_Eav_Model_Entity_Setup->createEntityTables('eavblog_posts')
  36. #9 /var/www/magento1.local/app/code/core/Mage/Core/Model/Resource/Setup.php(624): include('/var/www/magent...')
  37. #10 /var/www/magento1.local/app/code/core/Mage/Core/Model/Resource/Setup.php(421): Mage_Core_Model_Resource_Setup->_modifyResourceDb('install', '', '0.1.0')
  38. #11 /var/www/magento1.local/app/code/core/Mage/Core/Model/Resource/Setup.php(327): Mage_Core_Model_Resource_Setup->_installResourceDb('0.1.0')
  39. #12 /var/www/magento1.local/app/code/core/Mage/Core/Model/Resource/Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
  40. #13 /var/www/magento1.local/app/code/core/Mage/Core/Model/App.php(408): Mage_Core_Model_Resource_Setup::applyAllUpdates()
  41. #14 /var/www/magento1.local/app/code/core/Mage/Core/Model/App.php(336): Mage_Core_Model_App->_initModules()
  42. #15 /var/www/magento1.local/app/Mage.php(640): Mage_Core_Model_App->run(Array)
  43. #16 /var/www/magento1.local/index.php(81): Mage::run('', 'store')
  44. #17 {main}
  45.  
  46. Next exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[42000]: Syntax error or access violation: 1170 BLOB/TEXT column 'value' used in key specification without a key length' in /var/www/magento1.local/lib/Zend/Db/Statement/Pdo.php:234
  47. Stack trace:
  48. #0 /var/www/magento1.local/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
  49. #1 /var/www/magento1.local/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
  50. #2 /var/www/magento1.local/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
  51. #3 /var/www/magento1.local/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('CREATE TABLE `e...', Array)
  52. #4 /var/www/magento1.local/lib/Varien/Db/Adapter/Pdo/Mysql.php(389): Zend_Db_Adapter_Pdo_Abstract->query('CREATE TABLE `e...', Array)
  53. #5 /var/www/magento1.local/lib/Varien/Db/Adapter/Pdo/Mysql.php(1968): Varien_Db_Adapter_Pdo_Mysql->query('CREATE TABLE `e...')
  54. #6 /var/www/magento1.local/app/code/core/Mage/Eav/Model/Entity/Setup.php(1358): Varien_Db_Adapter_Pdo_Mysql->createTable(Object(Varien_Db_Ddl_Table))
  55. #7 /var/www/magento1.local/.modman/Magentotutorial_Complexworld/code/sql/complexworld_setup/mysql4-install-0.1.0.php(17): Mage_Eav_Model_Entity_Setup->createEntityTables('eavblog_posts')
  56. #8 /var/www/magento1.local/app/code/core/Mage/Core/Model/Resource/Setup.php(624): include('/var/www/magent...')
  57. #9 /var/www/magento1.local/app/code/core/Mage/Core/Model/Resource/Setup.php(421): Mage_Core_Model_Resource_Setup->_modifyResourceDb('install', '', '0.1.0')
  58. #10 /var/www/magento1.local/app/code/core/Mage/Core/Model/Resource/Setup.php(327): Mage_Core_Model_Resource_Setup->_installResourceDb('0.1.0')
  59. #11 /var/www/magento1.local/app/code/core/Mage/Core/Model/Resource/Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
  60. #12 /var/www/magento1.local/app/code/core/Mage/Core/Model/App.php(408): Mage_Core_Model_Resource_Setup::applyAllUpdates()
  61. #13 /var/www/magento1.local/app/code/core/Mage/Core/Model/App.php(336): Mage_Core_Model_App->_initModules()
  62. #14 /var/www/magento1.local/app/Mage.php(640): Mage_Core_Model_App->run(Array)
  63. #15 /var/www/magento1.local/index.php(81): Mage::run('', 'store')
  64. #16 {main}
  65.  
  66. ## 2011-08-25 16:24:58
  67. ## 5244 ## TRANSACTION ROLLBACK
  68. TIME: 0.0001
Add Comment
Please, Sign In to add comment