Closed (fixed)
Project:
Drupal driver for SQL Server and SQL Azure
Version:
7.x-2.x-dev
Component:
Schema handling
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
28 Nov 2013 at 21:01 UTC
Updated:
21 Dec 2015 at 03:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rob_johnston commentedComment #2
rob_johnston commentedComment #3
rob_johnston commentedMaking a note to myself... just got this message after running an update:
I think it was from system module update 7079 - Convert the 'filesize' column in {file_managed} to a bigint.
Comment #4
rob_johnston commentedFound the problem... the function changeField() makes a call to addField() so the call to createdDescriptionSql() at the end of the changeField() function can be removed. Also, this function should be named createDescriptionSql(). I will post a new patch in a few days.
Comment #5
rob_johnston commentedComment #7
david_garcia commentedI added this to the D8 experimental version of the driver.
I had to fix a strange issue, and I am not happy in the way I have done it.
It looks like fn_listextendedproperty will not read any value until current transaction is commited. So, if during the same transactions you try to perform two operations on the same object you can end up doing two sp_addextendedproperty over the same object. The second time it will throw an exception.
I just added a static cache, but it is not a good solution...
Comment #8
david_garcia commentedAll this work got lost in the latest 7.x-2.x -> 8.x-1.0 port.
Comment #9
david_garcia commentedFixed for D8!