WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2457 closed defect (bug) (fixed)

Import problems with MoveableType and MySQL 5

Reported by: bungeman Owned by:
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.0.1
Component: Administration Keywords: import, moveabletype, bg|has-patch
Focuses: Cc:

Description

import/mt.php does not work with MySQL 5 out of the box since it produces bogus INSERTS. One can get around this by using a quick and dirty plugin which turns off strict mode in MySQL, but its really hard to figure out this is the problem, and besides, its bad form to have invalid SQL querries.

Attachments (1)

importsql5patch.diff (1.5 KB) - added by bungeman 9 years ago.
patch which adds post_content_filtered to the INSERT statement which is missing it

Download all attachments as: .zip

Change History (4)

@bungeman9 years ago

patch which adds post_content_filtered to the INSERT statement which is missing it

comment:1 @bungeman9 years ago

  • Keywords bg|has-patch added

comment:2 @ryan9 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3539]) Add post_content_filtered to insert and update in wp_insert_attachment(). Props bungeman. fixes #2457

comment:3 @ryan9 years ago

  • Milestone set to 2.1
Note: See TracTickets for help on using tickets.