Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#2457 closed defect (bug) (fixed)

Import problems with MoveableType and MySQL 5

Reported by: bungeman's profile 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 18 years ago.
patch which adds post_content_filtered to the INSERT statement which is missing it

Download all attachments as: .zip

Change History (4)

@bungeman
18 years ago

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

#1 @bungeman
18 years ago

  • Keywords bg|has-patch added

#2 @ryan
18 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

#3 @ryan
18 years ago

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