[TYPO3-core] RFC: bug #6844: DB compare fails
Steffen Kamper
steffen at sk-typo3.de
Tue Nov 27 19:13:59 CET 2007
"Steffen Kamper" <steffen at sk-typo3.de> schrieb im Newsbeitrag
news:mailman.1.1196186741.20054.typo3-team-core at lists.netfielders.de...
> This is an SVN patch request.
>
>
> Branches: Trunk , 4.1?
>
> Bugtracker Reference:
> http://bugs.typo3.org/view.php?id=6844
>
>
> Description:
> many users noticed that EM gives update warning though field definition is
> equal to existing field. You see it with a "UPDATE NEEDED", eg:
>
> ALTER TABLE fe_groups CHANGE felogin_redirectPid felogin_redirectPid
> tinytext;
> Current value: tinytext
>
> The comparison fails because of missing trim
>
>
> Solution:
> add trim to comparison
>
> vg Steffen
>
the construct is no "nice" so i did the trimming before comparison, looks
better and more easy to read.
vg Steffen
begin 666 20071127_dbcompare2.diff
M26YD97 at Z('0S;&EB+V-L87-S+G0S;&EB7VEN<W1A;&PN<&AP#0H]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]#0HM+2T@=#-L:6(O8VQA<W,N=#-L:6)?:6YS=&%L
M;"YP:' )*')E=FES:6]N(#(W-C8I#0HK*RL@=#-L:6(O8VQA<W,N=#-L:6)?
M:6YS=&%L;"YP:' )*'=O<FMI;F<@8V]P>2D-"D! ("TT.38L-R K-#DV+#@@
M0$ -"B )"0D)"0EF;W)E86-H*"1K97E4>7!E<R!A<R D=&AE2V5Y*0E["B )
M"0D)"0D):68@*&ES7V%R<F%Y*"1I;F9O6R1T:&5+97E=*2D)>PH@"0D)"0D)
M"0EF;W)E86-H*"1I;F9O6R1T:&5+97E=(&%S("1F:65L9$X@/3X@)&9I96QD
M0RD)>PHM"0D)"0D)"0D))&9I96QD3B ]('-T<E]R97!L86-E*"=@)RPG)RPD
M9FEE;&1.*3L**PD)"0D)"0D)"21F:65L9$X@/2!T<FEM*'-T<E]R97!L86-E
M*"=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