Skip to content

MSSQL - fix typo error on getTableColumns()#7426

Merged
Bakual merged 1 commit intojoomla:stagingfrom
alikon:patch-34
Jul 13, 2015
Merged

MSSQL - fix typo error on getTableColumns()#7426
Bakual merged 1 commit intojoomla:stagingfrom
alikon:patch-34

Conversation

@alikon
Copy link
Copy Markdown
Contributor

@alikon alikon commented Jul 13, 2015

Steps to reproduce the issue

install current staging on MSSQL

Expected result

The installation goes well

Actual result

the installation process don't end

System information

Windows 2008 R2 10.50.4033
Apache 2.4.7
PHP 5.5.9
Joomla! 3.4.4-dev

Additional comments

this error was introduced by this commit 2f76e54 #6314

there was a typo on function getTableColumns()
accordingly to query

'SELECT column_name as Field, data_type as Type, is_nullable as \'Null\', column_default as \'Default\'' .
            ' FROM information_schema.columns WHERE table_name = ' . $this->quote($table_temp)

should be $field->Type instead of $field->type

sorry for this 😇

#### Steps to reproduce the issue
install current staging on MSSQL


#### Expected result
The installation goes well


#### Actual result
the installation process don't end



#### System information (as much as possible)
Windows 2008 R2 10.50.4033
Apache 2.4.7
PHP 5.5.9
Joomla! 3.4.4-dev



#### Additional comments
this error was introduced by this commit 2f76e54 #6314

there was a typo on function 	getTableColumns()
accordingly to query
```
'SELECT column_name as Field, data_type as Type, is_nullable as \'Null\', column_default as \'Default\'' .
			' FROM information_schema.columns WHERE table_name = ' . $this->quote($table_temp)
```			
should be ```$field->Type``` instead of  ```$field->type```

sorry for this 😇
Bakual pushed a commit that referenced this pull request Jul 13, 2015
MSSQL - fix typo error on getTableColumns()
@Bakual Bakual merged commit 69741f2 into joomla:staging Jul 13, 2015
@Bakual
Copy link
Copy Markdown
Contributor

Bakual commented Jul 13, 2015

Merged based on review.

@zero-24 zero-24 added this to the Joomla! 3.4.4 milestone Jul 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants