[dw-free] Binary column attribute doesn't show up when loading table info, so let's exp
[commit: http://hg.dwscoalition.org/dw-free/rev/09d54b296645]
Binary column attribute doesn't show up when loading table info, so let's
exp licitly set a db note instead.
Patch by
fu.
Files modified:
Binary column attribute doesn't show up when loading table info, so let's
exp licitly set a db note instead.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- bin/upgrading/update-db-general.pl
-------------------------------------------------------------------------------- diff -r 38f89333861e -r 09d54b296645 bin/upgrading/update-db-general.pl --- a/bin/upgrading/update-db-general.pl Fri Oct 29 14:41:04 2010 +0800 +++ b/bin/upgrading/update-db-general.pl Fri Oct 29 15:09:47 2010 +0800 @@ -3917,9 +3917,10 @@ EOF } } - unless ( column_type( 'sitekeywords', 'keyword' ) =~ /BINARY/ ) { + unless ( check_dbnote( 'sitekeywords_binary' ) ) { do_alter( 'sitekeywords', q{ALTER TABLE sitekeywords MODIFY keyword VARCHAR(255) BINARY NOT NULL} ); + set_dbnote( "sitekeywords_binary", 1 ) } }); --------------------------------------------------------------------------------