[Bug 208688] New: kompare fails to diff "mysqldump --no-data" dump files

View: New views
7 Messages — Rating Filter:   Alert me  

[Bug 208688] New: kompare fails to diff "mysqldump --no-data" dump files

by Bugzilla from steve@stedee.id.au :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=208688

           Summary: kompare fails to diff "mysqldump --no-data" dump files
           Product: kompare
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kompare-devel@...
        ReportedBy: steve@...


Version:           3.5.4 (using KDE 4.2.4)
OS:                Linux
Installed from:    Ubuntu Packages

"Error. Could not parse diff output" when run from the cmd line, or opening the
two files manually from the app already open.
'diff -u' works fine; as does kdiff3 (which I've fallen back to use in this
case)

Grab two mysql dump files using the '--no-data', such that you only get the
create table etc statements; want the diff to compare OLD version of DB, with
new version of DB.

Sample extract from the full files that shows the problem:
File 1:
-- MySQL dump 10.11
--
-- Host: grokdb    Database: groklaw
-- ------------------------------------------------------
-- Server version       5.0.45-community-log

File 2:
-- MySQL dump 10.11
--
-- Host: localhost    Database: gl_new
-- ------------------------------------------------------
-- Server version       5.0.84

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
Kompare-devel@...
https://mail.kde.org/mailman/listinfo/kompare-devel

[Bug 208688] kompare fails to diff "mysqldump --no-data" dump files

by Bugzilla from jeff-kdecvs@caffeinated.me.uk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=208688


Jeff Snyder <jeff-kdecvs@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #1 from Jeff Snyder <jeff-kdecvs caffeinated me uk>  2009-09-27 14:23:27 ---
Confirming.
The diff output will have lines that start with "---" in the content, it's
probably tripping up on them. 3_way_kompare branch doesn't have the same
problem, i'll try to see why.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
Kompare-devel@...
https://mail.kde.org/mailman/listinfo/kompare-devel

[Bug 208688] kompare fails to diff "mysqldump --no-data" dump files

by Bugzilla from jeff-kdecvs@caffeinated.me.uk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=208688


Jeff Snyder <jeff-kdecvs@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Jeff Snyder <jeff-kdecvs caffeinated me uk>  2009-09-27 15:05:49 ---
SVN commit 1028512 by je4d:

Revert the fix for bug 139209 - the fix used caused bug 208688. 139209 needs to
be fixed by counting lines instead.
BUG:208688
CCBUG:139209


 M  +1 -3      parserbase.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1028512

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
Kompare-devel@...
https://mail.kde.org/mailman/listinfo/kompare-devel

[Bug 208688] kompare fails to diff "mysqldump --no-data" dump files

by Bugzilla from kevin.kofler@chello.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=208688





--- Comment #3 from Kevin Kofler <kevin kofler chello at>  2009-09-27 15:10:49 ---
This is actually a duplicate of bug 204253. It's the "--" at the beginning of
lines which confuses Kompare. (This also breaks diffing Haskell source files
with their -- comments, by the way.) There's a proposed patch there, which
AFAICT implements exactly this "counting lines" feature. We should look at that
one, as it should allow fixing both bug 139209 and this one.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
Kompare-devel@...
https://mail.kde.org/mailman/listinfo/kompare-devel

[Bug 208688] kompare fails to diff "mysqldump --no-data" dump files

by Bugzilla from kevin.kofler@chello.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=208688


Kevin Kofler <kevin.kofler@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markus.schoepflin@...
                   |                            |e




--- Comment #4 from Kevin Kofler <kevin kofler chello at>  2009-09-27 15:44:00 ---
*** Bug 204253 has been marked as a duplicate of this bug. ***

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
Kompare-devel@...
https://mail.kde.org/mailman/listinfo/kompare-devel

[Bug 208688] kompare fails to diff "mysqldump --no-data" dump files

by Bugzilla from kevin.kofler@chello.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=208688





--- Comment #5 from Kevin Kofler <kevin kofler chello at>  2009-09-27 15:44:38 ---
We're using the fix from https://bugs.kde.org/show_bug.cgi?id=204253#c4 (which
actually counts diff lines) now.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
Kompare-devel@...
https://mail.kde.org/mailman/listinfo/kompare-devel

[Bug 208688] kompare fails to diff "mysqldump --no-data" dump files

by Bugzilla from kevin.kofler@chello.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=208688





--- Comment #6 from Kevin Kofler <kevin kofler chello at>  2009-09-28 02:27:02 ---
SVN commit 1028719 by kkofler:

Revert the fix for bug 139209 - the fix used caused bug 208688. 139209 needs to
be fixed by counting lines instead.
CCBUG:208688
CCBUG:139209

backport revision 1028512 by je4d from trunk

 M  +1 -3      parserbase.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1028719

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
Kompare-devel@...
https://mail.kde.org/mailman/listinfo/kompare-devel