Comments (9)
oh, so someone is still using postgre?.. yes, please, provide a fix for postgre if you can
from mangos-one-server-old.
Strange, it used long time in master version directly in code and none one report porblems when some other porblems has been reported about posgre use.
from mangos-one-server-old.
"If it's a good fix I can make patch for all queries"
No-no, this is not right way...
We have some other syntax diff in queries for mysql/posgre and have special defines for provide alternative syntax. If you confirm that this work right i can add like define for in all places use instead direct UNIX_TIMESTAMP
But we also use FROM_UNIXTIME(time). Is it ok case?
from mangos-one-server-old.
Tested as postgres function and work then what the best, postgres functions or core modification?
from mangos-one-server-old.
Hmm, intresting sollution, if function psosible then maybe better have its.
As i understand then need do add its query in posrgre database connection init?
it need do for each connection or single time. in any case this need do then in PostgreSQLConnection::Initialize possible. Can you test this way? And maybe provide patch if work....
from mangos-one-server-old.
Function replacement need to be added one time at each database using FROM_UNIXTIME and UNIX_TIMESTAMP
http://www.picdo.net/fichiers/2011/2/12/05ca3557-7ecb-4e0d-b24d-e9a14261671b_pgfunctions.tiff
from mangos-one-server-old.
Fixed in [11155] in suggested way. Please look is i ok write because can't do real test in PostgreSQL.
from mangos-one-server-old.
it works but you have forget the function FROM_UNIXTIME
https://gist.github.com/824546
from mangos-one-server-old.
Oh, thank you :) Fixed in [11160]
from mangos-one-server-old.
Related Issues (20)
- Mass dispel bug
- Hotbar bug
- Vanish
- Grounding totem bug HOT 12
- Hunter-pet [Training-point system tbc]
- Crash After win Arena match HOT 1
- [Spell][Mage] Invisibility not interrupted by some spells
- Gift of the Naaru - tooltip
- Compile VS 2008 issue HOT 2
- [Spell][Priest] Lightwell GameObject not spawning HOT 2
- The Tome of Divinity HOT 1
- Char converter HOT 2
- [Spell] Shadowstep
- [s1704] Warden causing crash
- [Linux] Warden causing wowerror HOT 1
- Things that could be worked on HOT 1
- Totem spawning
- Warrior Shield Bash
- Mobs using backstab when you're facign them HOT 1
- Cast Bar Disappears HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mangos-one-server-old.