Closed (fixed)
Project:
Drupal driver for SQL Server and SQL Azure
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2013 at 18:26 UTC
Updated:
7 Jun 2013 at 17:10 UTC
Comments
Comment #1
Uncle_Code_Monkey commentedThis sounds like it may have to do with another bug, recently fixed:
SQL Server driver in #1830024: Cannot execute db_change_field() to convert nvarchar to varbinary
lyricnz provided a patch for it, which I have modified slightly and found that it fixed my similar issues quite nicely.
See my comment for my modified and tested patch.
You'll want to restore your database to what it was before you attempted the upgrade because the format_old field is now in an intermediate step during the
db_change_field()method. Once you've restored your data and installed the patch, this particular problem should be fixed.Comment #2
omegamonk commentedThe contrib patch for #1830024: Cannot execute db_change_field() to convert nvarchar to varbinary has been committed to the sqlsrv development release. I ran through the upgrade from 7.21 to 7.22 and did not experience this issue. Marking as fixed.