cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lttmtins <...@git.apache.org>
Subject [GitHub] cloudstack pull request: fix mariadb related listCapacity bug (CLO...
Date Wed, 06 Jan 2016 16:19:04 GMT
GitHub user lttmtins opened a pull request:

    https://github.com/apache/cloudstack/pull/1313

    fix mariadb related listCapacity bug (CLOUDSTACK-8966)  a bigint(20) …

    …with varchar type does not work well on MariaDB
    so forcing it to type decimal
    Tested on ACS4.7 with MariaDB10.0.22 (galera)
    
    To test (this is the output with the pull request code underneath):
    (nl2) > list capacity sortby=usage type=0
    count = 1
    capacity:
    capacitytotal = 0
    capacityused = 3501740523520
    percentused = 0
    type = 0
    zoneid = 76251030-aca1-44c6-b47d-8010ee17e0ad
    zonename = NL2
    (nl2) > 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lttmtins/cloudstack master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1313.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1313
    
----
commit 957e37df012f0b3be84735a5bde70eb004d18493
Author: Anton Opgenoort <aopgenoort@schubergphilis.com>
Date:   2016-01-06T16:15:02Z

    fix mariadb related listCapacity bug (CLOUDSTACK-8966)  a bigint(20) with varchar type
does not work well on MariaDB
    so forcing it to type decimal

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message