Welcome Guest, Not a member yet? Register   Sign In
CI Session bug
#2

[eluser]wh1tel1te[/eluser]
I assume MySQL will ignore the default value for the text field when creating a table.

I just tested adding a default value to a text field in MySQL 5.0.77, this is the result:

Code:
SQL query:
ALTER TABLE  `blog1_post` CHANGE  `post_content`  `post_content` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT  'test'

MySQL said:
#1101 - BLOB/TEXT column 'post_content' can't have a default value


Messages In This Thread
CI Session bug - by El Forum - 04-07-2011, 04:12 PM
CI Session bug - by El Forum - 04-07-2011, 04:19 PM
CI Session bug - by El Forum - 04-07-2011, 04:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB